C++ tool installation of Windows 10 system installation VSCode
surroundings
Windows10
tool
Visual Studio Code
C++ compiler: g++
One, Visual Studio Code installation
1. Download
Download Visual Studio Code on the official website
2. Installation
Run the downloaded .exe file and continue to the next step to install Visual Studio Code
Two, C++ compiler installation
1. Download
Download MinGW, you can go online to find it yourself, comrades who don’t have can find me
2. Installation
Run the downloaded mingw-get-setup.exe and continue to the next step
3. Download the g++ compiler and related configuration
Download g++ related things in MinGW, MinGW will automatically download and install
Three, configure Win10 system environment variables
Fourth, configure the VSCode environment
1. Create a folder
2. Install C/C++ extension
3. Configure the compiler
Press the shortcut key Ctrl+Shift+P to call up the command panel
4. Configure the default generation task
5. Configure the debugger
From: 1997's C++ tutorial (please indicate the source for reprinting)