4 Aug
2006
4 Aug
'06
2:14 p.m.
You can do this up to arbitrary dimensions, just make sure the dimensions add up (the type checker shall complain if they don't).
an example: int foo[4][8][32][35]; So... foo[x][y][z][w] is of type int foo[x][y][z] is of type int [ ] foo[x][y] is of type int [ ] [ ] ... foo is of type int [ ] [ ] [ ] [ ] x, y, z, w represent integers in this example. Ge!