当前位置:网站首页>Use of vscode software

Use of vscode software

2022-07-05 03:52:00 xuechanba

One 、VS Code Installing a plug-in

VSCode One advantage of is that you can install various plug-ins .

1、 Install the simplified Chinese plug-in

2、 Install curly bracket extensions , It can help us clearly see the code level .

3、 install run Code, It can help us run ( Various ) Code ( Include C/C++、python etc. ).

4、 install C/C++, This has the function of grammatical prompt .

5、 install ( Can choose ) The theme , Here you can choose Atom One Dark Theme( dark colors ) or Atom One Light Theme( Bright colors ) Two kinds of .

The above installation is also shown in the configuration process video below , There is no mention of .

Two 、VS Code Configure the compilation environment

Video tutorial Links :https://www.bilibili.com/video/BV14f4y127BC.

Although Baidu cloud link has been provided below the video ( The file named install , Saved to my baidu cloud ), But just in case , Still uploaded to CSDN Information in ( Changed the name of the compressed package to VSCode, contains mingw compiler ).

because VS Code Not supported by default C/C++ compile , So you need to configure a local compiler to compile . What we use here is mingw compiler ( stay QT This compiler is also commonly used when creating projects in ).

There are , There is no mention of .( in addition , I put it here D disc )

3、 ... and 、 Open the file in the default path

Here we use “E:\projectCode\VSCode” For example .
 Insert picture description here
Besides , Note that there should be a space before the quotation mark to separate it from the previous quotation mark .

Four 、 The coup file provided in the software installation package given in the video link

 Insert picture description here
( There are also notes in the document )

1、
 Insert picture description here
2、del.bat It's a script file , Right click Run Code,
 Insert picture description here
You can delete files with specified suffixes in the current directory .
 Insert picture description here
Here is a simple demonstration : When we run test.cpp After this program , Will generate a test.exe The file of , however , Now I don't want this test.exe The file , I want to delete it , You can click del.bat , And then right-click Run Code Delete them .
 Insert picture description here

原网站

版权声明
本文为[xuechanba]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140722396503.html

随机推荐