I became confused when GCC allowed me to do this:
int t[10][10][10][10][10];
I realize int i[N][N] is an NxN matrix where the first N means the row, and the second means the column. Also, the third N in int i[N][N][N] means depth, giving us a 3d dimensional array.
I do not understand what int i[N][N][N][N] and beyond mean.
The fourth dimension is time, but that does not apply here.
So, could this mean that when I get to the third one, I could let the logic go away?
I find a library analogy very useful to visualizing arrays of multiple dimensions:
In the world of mathematics, the number of dimensions doesn't matter. It just eventually gets to a point at which one can no longer visualize it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With