int n=0;
Cin & gt;> N//input any data
Int * p=new int [n].
//use the
delete p;//release
Another way to use the vector
int n=0;
Cin & gt;> N//input any data
Vector
For (int I=0; I & lt; n; I++)
{
int temp=0;
Cin & gt;> Temp.
Valerie plame ush_back (temp);
}
//use the