Vector initialisation with some initial value #6951
Answered
by
sean-mcmanus
Siddharth (sidforreal)
asked this question in
Q&A
|
I am getting this error when I initialise a vector with some initial value: #5643 was something related to this but in my case I am not using "C/C++ Clang command adaptor" I have only "Code Runner" along side "C/C++ for Visual Studio Code"
|
Answered by
sean-mcmanus
Feb 11, 2021
Replies: 1 comment 2 replies
|
That error would occur if you're using C++03 instead of C++11 or newer. Can you check your cppStandard in c_cpp_properties.json or C_Cpp.default.cppStandard? |
2 replies
Answer selected by
sidforreal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

That error would occur if you're using C++03 instead of C++11 or newer. Can you check your cppStandard in c_cpp_properties.json or C_Cpp.default.cppStandard?