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
1 Réponse
0
Any example code ?
I dont understand the structure of your code