[chuck-users] arrays holding arrays?
signal.automatique at gmail.com
Fri Aug 4 14:20:14 EDT 2006
> an example:
> int foo;
> 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.
Ok, so in cases like that it's especially important to declare them in the
right order. In the 2D case as I understand it you can easily treat a row
as if it were a array (which is waht I wanted) but it's less easy to treat
a column as one, right?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users