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

6 Name: dmpk2k!hinhT6kz2E : 2007-10-30 21:02 ID:Heaven

I'd use "double *prMatrix[]".

The trick is to get something like "x = prMatrix[y][z]" to work like you'd expect. Normally it'd be something along the lines of "x = prMatrix[y]->[z]" if you use an array of pointers to an array (IIRC). It's possible to get the first form, but I don't recall how.

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