Salt Lake City, UT
Posts: 11 since Jun 2017
Thanks Given: 0
Thanks Received: 1
|
Also, it just occurred to me, that you might be asking how to access array elements beyond the first dimension. It is done like this:
int x = array[0][0];
However, if you don't know how many dimensions you will have, then you must iterate through every element, rather than access elements by index.
|