建立动态大小的数组

int N;

cin>>N;

int* p=new int[n];

在调用数组里的元素时,用*(p+i)

在以整个数组为参数时,用p

原文地址:https://www.cnblogs.com/johnsblog/p/3113899.html