Hey guys. Can you explain me about this?
char a[8][4][10]
what does it mean?
Hey guys. Can you explain me about this?
char a[8][4][10]
what does it mean?
This is a 3 dimensional array of chars. The first dimension is 8, the second 4 and the third 10.
If you want to access the (i,j,k)-th element you have to write
By curiosity, where do you need that?Code:a[i][j][k]
Code - functions and small libraries I use
It’s 2014 and I still use printf() for debugging.
"Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson
what do you need it for? or in what context are you expected to use it? As stated already it is a 3d array - that is it can be used to express let's say blocks within a cube [3][3][3]
Thought for the day:FLTK: "The most fun you can have with your clothes on.""Are you sure your sanity chip is fully screwed in sir?" (Kryten)
Stroustrup:
"If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"