Skip to content

Vector initialisation with some initial value #6951

Answered by sean-mcmanus
sidforreal asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sidforreal
Comment options

@sean-mcmanus
Comment options

Answer selected by sidforreal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants