C++ float**动态创建和释放
作者:互联网
float** Info = NULL;
baseDataInfo = new float*[10];
for(int i=0;i<10;i++)
{
Info[i]=new float[300];
memset(Info[i],0,300*sizeof(float));
}
for(int i=0; i<10; i++)
{
delete []Info[i];
Info[i] = NULL;
}
delete []Info;
Info = NULL;
标签:Info,10,float,int,baseDataInfo,C++,动态创建 来源: https://www.cnblogs.com/qq673613920/p/15413781.html