Hallo Gurus

I've done the following. It works.


float *array = new float[m_numbRows];




What I like to do is the following:

float *array = new float[m_numbRows][m_numbRows];




But it doesn't work.


I've got the following help from a friend. We think there should be an easier way.

float** pvfArray;

.....later....

pvfArray = new float*[iNumRows];
for(int i = 0; i < iNumRows; i++)
pvfArray[i] = new float[iNumCols];

pvfArray[iR][iC] = 3.9;




Thanks for the help.

M