here's what i want to do:
program asks user how big the array is gonna be.
cout << "how big you want this array to be?" << endl;
cin >> array_size;
user types: 10(or however large he wants the array to be)[enter]
program makes an array of size n:
int array[array_size];
BUT! alas......"error C2057: expected constant expression"
the error occurs on this line: int array[array_size];
i know theres a way to do this. and i also know this isnt the way....but its been a long time since i made progs...so someone please refresh my atrophied memory?