vs code running c++ environment configuration

First, I won’t talk about vs code download, I will find the channel to download it myself

2. If you want to download these things, you can enter them in the input box and download them yourself.

 3. Create a new file with the suffix 1.cpp

 That's right, your first hellow world is here, the code is as follows

#include <iostream>

int main()
{
    std::cout << "Hello World!\n";
    return 0;
}

4. How to run, see the picture below

 

Guess you like

Origin blog.csdn.net/xuelang532777032/article/details/129933730