You can install the C/C++ extension by searching for 'c++' in the Extensions view ( ⇧⌘X (Windows, Linux Ctrl+Shift+X)). To successfully complete this tutorial, you must do the following steps: If you have any problems, feel free to file an issue for this tutorial in the VS Code documentation repository. For those subjects, there are many good resources available on the Web.
This tutorial does not teach you about GCC, GDB, Mingw-w64, or the C++ language.
In this tutorial, you configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger from mingw-w64 to create programs that run on Windows.Īfter configuring VS Code, you will compile and debug a simple Hello World program in VS Code. Configure IntelliSense for cross-compiling.