Install the Microsoft Visual C++ (MSVC) compiler toolset. 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:
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 details about the Microsoft C++ toolset or the C++ language.
In this tutorial, you configure Visual Studio Code to use the Microsoft Visual C++ compiler and debugger on Windows.Īfter configuring VS Code, you will compile and debug a simple Hello World program in VS Code. Configure IntelliSense for cross-compiling.