Answer the question
In order to leave comments, you need to log in
Why does Visual Studio c++ swear?
In Visual Studio for the first time, and here
It is strange, since the same CodeBlocks does not say anything about this at all
Help, please
const int n = 10;
int mas[n];
Answer the question
In order to leave comments, you need to log in
It's not strange - different compilers behave differently. In addition, the degree of abuse of the compiler is very dependent on the compilation options.
Here's what they write about this error in Microsoft .
The description doesn't really help either.
Try making n static. Or define as define.
main
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question