![]() Restart VSCode to take effects of newly added compiler paths. Create a sample C/C++ projectĬreate a new.cpp file inside it like below: # include using namespace std int main ( ) ĮxternalConsole in launch.json can be set to true to see code output in cmd instead. I tweaked it around and set it up as a complete IDE For small C, C++ projects especially geared towards competitive programming. Lately, I found VSCode and fell in love with it (first love was Atom). The only options available were Dev-C++ (outdated) and the original "Mammoth" Visual Studio. I extensively used C & C++ in my competitive programming years and wanted better support for debugging & IntelliSense. Though, this guide is focused on the Windows platform but can be extended to Mac and Linux with some minor changes. ![]() By the end of this short guide, you’d be able to run, debug, and get IntelliSense for C/C++ files in VSCode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |