当前位置:网站首页>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 .
边栏推荐
- Interview question MySQL transaction (TCL) isolation (four characteristics)
- 16. Memory usage and segmentation
- asp. Core is compatible with both JWT authentication and cookies authentication
- DC-5 target
- MYCAT middleware installation and use
- [Yu Yue education] 233 pre school children's language education reference questions in the spring of 2019 of the National Open University
- [the way of programmer training] - 2 Perfect number calculation
- ArcGis利用栅格处理工具进行影像裁剪
- When synchronized encounters this thing, there is a big hole, pay attention!
- The solution of permission denied
猜你喜欢
16.内存使用与分段
Introduction to random and threadlocalrandom analysis
Cadence physical library lef file syntax learning [continuous update]
SAP ui5 date type sap ui. model. type. Analysis of the display format of date
Leetcode day 17
Paper notes ACL 2020 improving event detection via open domain trigger knowledge
22 API design practices
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
C语言数组
Star leap plan | new projects are continuously being recruited! MSR Asia MSR Redmond joint research program invites you to apply!
随机推荐
Will the concept of "being integrated" become a new inflection point of the information and innovation industry?
众昂矿业:为保障萤石足量供应,开源节流势在必行
C语言:围圈报号排序问题
[leetcode] 96 and 95 (how to calculate all legal BST)
priority_ queue
Global and Chinese markets for environmental disinfection robots 2022-2028: Research Report on technology, participants, trends, market size and share
认知的定义
Complementary knowledge of auto encoder
敏捷开发/敏捷测试感受
Fly tutorial 02 advanced functions of elevatedbutton (tutorial includes source code) (tutorial includes source code)
AbstractDispatcherServletInitializer 的实现类为什么可以在初始化Web容器的时候被调用
Kivy教程之 08 倒计时App实现timer调用(教程含源码)
When synchronized encounters this thing, there is a big hole, pay attention!
C language: find the length of string
Uva536 binary tree reconstruction tree recovery
Implementation mode and technical principle of MT4 cross platform merchandising system (API merchandising, EA merchandising, nj4x Merchandising)
R语言--readr包读写数据
美团·阿里关于多模态召回的应用实践
从0到1建设智能灰度数据体系:以vivo游戏中心为例
Transformer principle and code elaboration (tensorflow)