Figuring out index in a 3 dimentional array if array is actually 1 dimensional?

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-06-08T15:39:29Z Indexed on 2010/06/08 15:42 UTC
Read the original article Hit count: 123

Filed under:
|

If there is an array of ar[5000] then how could I find where element [5][5][4] would be if this was a 3 dimensional array? Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about c