Home > Back-end > The distribution of the 2 d array pointer and release
The distribution of the 2 d array pointer and release
Time:10-11
I type defines a global two-dimensional array pointer, in the circulation of the main function of the body to allocate and free right? If I in the function of the body to release, prompt error Definition of global two-dimensional pointer variable for float * * qp;
Runtime errors:
Don't know where to go wrong, or my program writing ideas already has a problem, you advice, thank you very much
CodePudding user response:
Use new and delete in application and release space