×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / 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[ ]) ?
    • new float[rxc]