-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run error #11
Comments
Looks like you are using an old (pre C++11) compiler. |
Thank you, but I am using visual studio 19 community edition, it seems to support the C++17 standard. |
I used MingW to compile and run, and it succeeded. Is it because this program compiles with C++17 standard and will cause errors? |
I don't have access to Windows/Visual Studio compiler in order to try this, but you should be able to rephrase the problematic line so that your compiler would not complain anymore. Line 5 in your screenshot fills the vector with 6 points using the |
Ok, thank you very much for your help, i will try it. |
Hello, when I use your sample program to run, such an error occurred, how can I solve it?
The text was updated successfully, but these errors were encountered: