can a user input the number of elements in an array? this won't work:
^^note cliEls versus liEls.Code:int liEls;
cout << "Elements in array liaArray[]="; cin >> liEls;
const int cliEls=liEls;
int liaArray[cliEls];
i'm trying to learn c++, thanks for your help!