×

Loading...

Simple question: How to dynamically allocate a two-dimension array in C++........

I can use new to create a one-dimension array like this:
float *fp;
fp = new float[10];

How about two-dimension (float fp[ ][ ]) and point array (float * fp[ ]) ?
Report