如题所述
如果想用完以后释放内存,应该怎么做?麻烦你了……
for (i = 0; i < x; i++) { delete [] a[i]; } delete [] a;
使用new函数还需要别的条件么?编译提示我“new”未定义。是不是需要什么头文件?谢谢!