Hello to everyone! I've just started studying C++ on the college, and in the program I'm working on I have this:
Before you ask, I did included any necessary libs. I get Visual Studio saying the error is in the last line: "... constant value expected..."Code:int num = 0; cin << num; int array[num];
What the hell is going on? I know this is simple, but I can't figure it out .
Thanx in advance! C ya!