


You may have to restart Visual Studio Code for changes to take affect. The extension itself will provide intellisense, code formatting, and a bunch of other useful things that you’d hope for in a full fledged C++ IDE. You’ll want to do a search for C++, which will hopefully show the C/C++ extension which is published by Microsoft. Installing the C++ Extension for Visual Studio Code by MicrosoftĪssuming you have Visual Studio Code installed, open the Extensions Marketplace. If you run into differences, please share them in the comments. I haven’t tried on Windows and Linux, but as long as g++ is available, I imagine it should work fine. Going forward, I can confirm that the steps of this tutorial work for macOS. Visual Studio Code (VSC) actually has really nice support for C++, so we’re going to see how to configure it.

In this tutorial we’re going to see how to configure a more modern IDE for C++ development. However, in this previous example, much of our work was done in a basic text editor, then compiled and ran with a Command Prompt or Terminal. Building a Hello World Example C++ Application was a first example of what I was talking about. I mentioned a few months ago that I was going to periodically go back to the basics when it comes to computer programming and application development.
