C++ tool installation Windows10 system installation VSCode | 97's C++ tutorial

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
Insert picture description here

2. Installation

Run the downloaded .exe file and continue to the next step to install Visual Studio Code
Insert picture description here

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
Insert picture description here

3. Download the g++ compiler and related configuration

Download g++ related things in MinGW, MinGW will automatically download and install
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Three, configure Win10 system environment variables

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Fourth, configure the VSCode environment

1. Create a folder

2. Install C/C++ extension

Insert picture description here

3. Configure the compiler

Press the shortcut key Ctrl+Shift+P to call up the command panel
Insert picture description here
Insert picture description here
Insert picture description here

4. Configure the default generation task

Insert picture description here

5. Configure the debugger

Insert picture description here

From: 1997's C++ tutorial (please indicate the source for reprinting)

Guess you like

Origin blog.csdn.net/qq_42495740/article/details/115223109