

In this article, I will show how to set up C++ Compiler with Visual Studio Code. You will need to install these tools or use those already installed on your computer. The C/C++ extension does not include a C++ compiler or debugger.

Now when you press F8 the Makefile will be executed, and errors will be underlined in the editor. Its also used in making games with the Unreal engine. VS Code is first and foremost an editor, and relies on command-line tools to do much of the development workflow. Prerequisites Visual Studio Code Extensions. Moreover you could update the config in settings.json using different C++ compilers as you want, the default config for C++ is as below: "code-runner.executorMap": This installer replaces both the Visual C++ Build Tools and the Microsoft Build Tools as your one stop shop for build tools. NOTE: Visual studio code is not required since you can use the g++ to run the project, all visual studio code does for you is a give an environment in which you can write, run and build your code.
