+ 1

What is the point of multi-dimensional arrays?

I don't understand where you would use them.

11th Jul 2017, 3:27 PM
The Little Stick Man
The Little Stick Man - avatar
4 Réponses
+ 5
2D arrays can also be used to deal with matrices.
11th Jul 2017, 3:43 PM
Hatsy Rei
Hatsy Rei - avatar
+ 2
you can represent a table with 2d arrays table[rows][cols]
11th Jul 2017, 3:28 PM
Andrés04_ve
Andrés04_ve - avatar
+ 2
Another good example, think of a coord system.
11th Jul 2017, 3:39 PM
AgentSmith
0
Thanks
11th Jul 2017, 3:29 PM
The Little Stick Man
The Little Stick Man - avatar