cin >>i;
p= new (nothrow) int[i]; // i not a constant value:
if(p == NULL){
}
else{
}
cin >>i;
p= new (nothrow) int[i]; // i not a constant value:
if(p == NULL){
}
else{
}
转载于:https://www.cnblogs.com/frank2008syj/archive/2013/03/05/2943912.html