Multi-dimensional Array Initialization [C++] (25)

3 Name: dmpk2k!hinhT6kz2E : 2007-10-30 18:39 ID:Heaven

Wait, that probably won't work. I remember some hackery similar to this in C, and is wasn't all that pretty.

You end up with an array of pointers to arrays of doubles. This is because the first array doesn't know what its dimension is at compile time.

Also, "[0][0]" is probably a bad idea.

This thread has been closed. You cannot post in this thread any longer.