MultiD arraay
-
Here you go: Multidimensional Arrays[^]
-- "Programming is an art that fights back!"
-
Be more precise with your post. What do you want to know about multi dimensional arrays?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Be more precise with your post. What do you want to know about multi dimensional arrays?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
Actually i want how multidimensional array values are saved in memory? how to retrieve the values. and if suppose i want assign some value into that how it is possible. for example see the below code and explain me how to assign PointF[][] p =new PointF[5][]; private long nP; List tP = new List(); if(condition) { nP = nP + 1; } p[nP] = tP; in here i had error msg for System.NullrefrenceException in this line p[nP] = tP. what shall i do?
-
Actually i want how multidimensional array values are saved in memory? how to retrieve the values. and if suppose i want assign some value into that how it is possible. for example see the below code and explain me how to assign PointF[][] p =new PointF[5][]; private long nP; List tP = new List(); if(condition) { nP = nP + 1; } p[nP] = tP; in here i had error msg for System.NullrefrenceException in this line p[nP] = tP. what shall i do?
Sure your code works? Has too many problems...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon