dealing with structural in a 2D array | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
0
Any example code ? I dont understand the structure of your code
14th Nov 2018, 11:21 PM
Taste
Taste - avatar