| Programming question/survey |
[Apr. 3rd, 2008|09:17 pm] |
Lets suppose you have a multidimensional array filled with data declared like: int md_array[5][10][3]
And you wanted to put the values a 1D array declared like: int 1d_array[150]
How would you do it? Its not so much that I need to know how its done, I want to know how you'd do it. This isn't an obfuscated c contest so please post something that you'd actually use. There's a reason why I'm asking this, but I'll reveal it after I get a few replies.
C style syntax preferred... |
|
|