From inside this terminal we can navigate to our created directory, build, and execute the script we've written. ![]() This opens a terminal window in the lower portion of the view. Now write the actual program (feel free to copy the below text): #include You can name the directory anything you want, but this example will call the directory " VSC_HelloWorld" and the file " HelloWorld.cpp". Go ahead and save the file (" File" > " Save") into a new directory. To create the first program, select " Start" > " New file" from the welcome screen. You should be greeted with the typical welcome screen: ![]() ![]() The first step is to create a new project. Before continuing, make sure you have the " ms-vscode.cpptools" extension installed. This example introduces you to the basic functionality of VS Code by demonstrating how to write a "hello world" program in C++.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |