Vector initialisation with some initial value #6951
-
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"
|
Beta Was this translation helpful? Give feedback.
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? |
Beta Was this translation helpful? Give feedback.
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?