1

I just downloaded Visual studio Code and like it so far. I mainly use C++, but I prefer the newer versions.

I just wanted to write a little test program and noticed, that my VS Code uses C++ 98. VS Code Error message

Is there a way in which I can tell my compiler or VS Code to use a higher version of c++?

Bo Persson
  • 90,663
  • 31
  • 146
  • 203
Fabian
  • 61
  • 4
  • 2
    Possible duplicate of [How to enable C++17 compiling in Visual Studio?](https://stackoverflow.com/questions/41308933/how-to-enable-c17-compiling-in-visual-studio) – 463035818_is_not_an_ai Dec 04 '17 at 10:43
  • 2
    Microsoft Visual Studio __Code__ is a different product from Microsoft Visual Studio and does not include a compiler or debugger (it is just a multi-language multi-platform IDE). It uses what ever it can find on your system as such we need to know what compiler you are using. – Richard Critten Dec 04 '17 at 11:01
  • That looks like a g++ message. Read the documentation for your compiler. – molbdnilo Dec 04 '17 at 11:18
  • @RichardCritten I am using Mingw – Fabian Dec 04 '17 at 12:19
  • @tobi303 Visual Studio is a IDE and VS Code only an editor. That post doesent help me. – Fabian Dec 04 '17 at 12:21
  • Yes understood that in the meantime. However, if it is just an editor then it doesnt make sense to make it use some C++ version – 463035818_is_not_an_ai Dec 04 '17 at 12:23

0 Answers0