当前位置:网站首页>After installing vscode, the program runs (an include error is detected, please update the includepath, which has been solved for this translation unit (waveform curve is disabled) and (the source fil
After installing vscode, the program runs (an include error is detected, please update the includepath, which has been solved for this translation unit (waveform curve is disabled) and (the source fil
2022-07-04 12:48:00 【The breeze is flowing freely】
List of articles
One 、MinGW-w64 C/C++ Compiler download
Two 、 Environment variable configuration
3、 ... and 、 stay VScode Inside test
This is a VScode Caused by not configuring the environment correctly !!!
One 、MinGW-w64 C/C++ Compiler download
Get into MinGW-w64 - for 32 and 64 bit Windows Files Official website ,Files As you can see below x86_64-win32-sjlj, Pictured 2 Shown , Download it . If you feel that the download is slow , There are links in my online disk .
link :https://pan.baidu.com/s/1Fl-GpNdKIfiCa-84VEZ1WQ?pwd=yr0e
Extraction code :yr0e


Then decompress the downloaded compressed package , As shown in the figure below .

Two 、 Environment variable configuration
Click start first , Then click Settings , Then click the system , Find in the about interface Advanced system setup , Click on it .



Click environment variable .

Double click... In the system variable Path.

Create a new path in the edit environment variable , And the mingw64 Under the table of contents bin Copy and paste the full path of the folder , Here's the picture .

Then enter gcc -v and g++ -v, The effect is as follows , This means that C Language and C++ The compilation environment of has been configured .


3、 ... and 、 stay VScode Inside test
Test it first C Language , Code is simply output Hello world.

After operation , perfect .

Let's test it again C++, Code is also output Hello World.( Don't ask why you don't use other code , Asking is food , Nothing )

It can also be output normally ,OK, Resolve compilation issues .

边栏推荐
- asp. Core is compatible with both JWT authentication and cookies authentication
- PKCs 5: password based cryptography specification version 2.1 Chinese Translation
- . Does net 4 have a built-in JSON serializer / deserializer- Does . NET 4 have a built-in JSON serializer/deserializer?
- The database connection code determines whether the account password is correct, but the correct account password always jumps to the failure page with wrong account password
- Global and Chinese markets of digital PCR and real-time PCR 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of piston rod 2022-2028: Research Report on technology, participants, trends, market size and share
- vim 出现 Another program may be editing the same file. If this is the case 的解决方法
- Paper notes ACL 2020 improving event detection via open domain trigger knowledge
- Global and Chinese market of dental elevators 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese markets for environmental disinfection robots 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

0x15 string

Tableau makes data summary after linking the database, and summary exceptions occasionally occur.

Leetcode day 17

IPv6 experiment

《天天数学》连载57:二月二十六日

MySQL advanced review

Detailed explanation of NPM installation and caching mechanism

ArgMiner:一个用于对论点挖掘数据集进行处理、增强、训练和推理的 PyTorch 的包

SAP ui5 date type sap ui. model. type. Analysis of the display format of date

MySQL performance optimization index
随机推荐
Detailed explanation of NPM installation and caching mechanism
I want to talk about yesterday
强化学习-学习笔记1 | 基础概念
Global and Chinese market of ice water machines 2022-2028: Research Report on technology, participants, trends, market size and share
golang 设置goproxy代理的小细节,适用于go module下载超时,阿里云镜像go module下载超时
从0到1建设智能灰度数据体系:以vivo游戏中心为例
[Android kotlin] lambda return statement and anonymous function
Ml and NLP are still developing rapidly in 2021. Deepmind scientists recently summarized 15 bright research directions in the past year. Come and see which direction is suitable for your new pit
Peak detection of measured signal
The solution of permission denied
Clockwise rotation method of event arrangement -- PHP implementation
A taste of node JS (V), detailed explanation of express module
C语言数组
Global and Chinese market for naval vessel maintenance 2022-2028: Research Report on technology, participants, trends, market size and share
Single spa, Qiankun, Friday access practice
Memory computing integration: AI chip architecture in the post Moorish Era
昨天的事情想说一下
priority_ queue
Global and Chinese markets of digital PCR and real-time PCR 2022-2028: Research Report on technology, participants, trends, market size and share
Netgear switch basic configuration command set