“delete [] a,b; ” 的格式对吗?
“delete [] a,b; ” 的格式对吗?
程序:
int n=100;
int *a,*b;
a=new int [n];
b=new int [n];
delete [] a,b; //这样格式对吗?
[此贴子已经被作者于2006-10-13 10:29:21编辑过]
“delete [] a,b; ” 的格式对吗?
程序:
int n=100;
int *a,*b;
a=new int [n];
b=new int [n];
delete [] a,b; //这样格式对吗?
[此贴子已经被作者于2006-10-13 10:29:21编辑过]