
Type in the above C++ source code into the new file and save it as a new file, e.g. Create a new file using File, New or Command(⌘)+ N. This also makes the VSCode EXPLORER pane work appropriately. VSCode requires (or works best) when a project is residing in its own main folder. Let's take a simple Hello World program: #include Ĭout << "hello Michael. Visual Studio Code (VSCode) 1.4 is assumed installed. This will include (Apple's) clang compiler and Standard C/C++ library. Xcode Command Line Tools is assumed installed. XCode 7.2.1, the official development tool for C++ on Mac OS X is assumed installed. To follow, I do expect that you have a minimal understanding of working with text editors, C++ build/compilation, C++ debugging and terminal shell commands. Nevertheless, this document contain my VSCode experience results, with small how-to guides for getting up and running. working with GCC compiler, GDB debugger, NetBeans etc. Previously I've used C++ on the Mac at a basic level, but do have *nix experience, e.g.
I wanted to play with and test Visual Studio Code's ( VSCode) features for doing C++ development on the Mac platform.Īt work and in the past 20+ years I've mainly been using Windows, so this is somewhat different and new interesting territory for me.
Using Visual Studio Code and Building and Debugging with C++ on Mac OS X Saturday, August 6th, 2016 News Archive 2016 > Using Visual Studio Code and Building and Debugging C++ on Mac OS X |