0

dealing with structural in a 2D array

so i have this project, i’m at the point of the project where the user is inputting for the 2D array but the values are coming from the struct variables, example: userCharge[elecCharge].indRow, .indCol and .strength .strength is the value that needs to be put into the array and my array is potentialArray[100][100] so i was told to do potentialArray[userCharge[elecharge].indRow, userCharge[elecharge].indCol, userCharge[elecharge].strength] but it’s not working

14th Nov 2018, 9:12 PM
Tsion Solomon
Tsion Solomon - avatar
1 Réponse
0
Any example code ? I dont understand the structure of your code
14th Nov 2018, 11:21 PM
Taste
Taste - avatar