I have recently started using VSCode(1.28) for programming in c++ on my mac. But I can't use a lot of stl functions like emplace_back() ... Is there a way to resolve this, Thank You.
I have recently started using VSCode(1.28) for programming in c++ on my mac. But I can't use a lot of stl functions like emplace_back() ... Is there a way to resolve this, Thank You.
I think g++ uses C++98 by default. You have to add the flag -std=C++14 to your compilation options if you want to use C++14.
LanceTheDragonTrainer can you describe a bit more? I want to set up VS Code for c++14 in my windows 10 OS.