C++ Programming with Visual Studio Code

Description

In this episode, Robert is joined by Rong Lu, who shows the C/C++ support in Visual Studio Code provided by the Microsoft C/C++ extension. The focus of the extension is code editing, navigation, and debugging support. Rong shows IntelliSense, formatting and navigating code, Peek and Go to definition and then building and debugging.

I'm trying to use Visual Studio Code to program simple C files and after installing C/C++ extension it could not find include c header/s path. After editing the json file and installing Clang it still could not find the stdio header. I usually simply use Geany4Windows with MINGW GCC path, but adding that path that doesn't work either. So, I have just installed Windows Kit 10 and hope this works with the include path C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrtand will finally fix this (I saw this suggested on StackOverflow). It has worked (Windows programming can be so frustrating with simple errors or complex errors!). I will try some more C programming in this IDE and then venture forward to C++.............:-)

Ok, Hello I first want to say thank you to all who had help in developing Visual Studios 2017. Very nice work! One thing I have noticed as a noob user, it that when I am trying to understand how to implement code in c++, I am completely lost. Don't get me wrong, I have no prior c++ experience. I do however create advanced algorithms, and systems. Complete noob in c++ though. One thing I would find being such a new user, that would be helpful is an about command tab. For example, in the toolbox, I see many items. I am finding a lot of wasted time, trying to understand just what it is each item does. Is there a way of maybe adding an about command that will give a brief explanation about the toolbox item by right clicking on the item? Also I find that doing simple things like adding a file to open in a specific location, or adding a file with instant tagging would be nice, if you already have these I greatly apologize, and will be seeking these. If not noobs everywhere would most likely be very thankful.

I made an earlier comment about needing to add path to stdio.h for C programming (see comment above). While this allowed the code to run and produced an exe binary file, it still gave a warning that it could not find the path to vcruntime.h . I could not find that file anywhere in my Microsoft VisStudio program files (x86) folder and then noticed my Visual Studio Community 2017 edition did not have C++ support! So I installed Universal package in it and then found the path to file vcruntime.h (C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/include/*) which was added to the json cpp config file and the file compiled with no errors at last! Alleluiah...now to do some c++ programming in this Visual Studio Code IDE! :-)