Analysis of vscode in Windows Environment_ cpp_ properties.json File configuration issues (recommended)

Time:2020-11-14

When using vscode for the first time, we will encounter a problem, that is, when writing C and C + + source files, the header file prompts that it is not configured properly. As for this problem, the solutions are as follows: I think the most common problem you encounter is the setting of “include path”:

1. “C / MinGW / include / * *” is the path to the include folder of MinGW you downloaded
2.“c:/mingw/bin/…/lib/gcc/mingw32/6.3.0/include/c++”,
“c:/mingw/bin/…/lib/gcc/mingw32/6.3.0/include/c++”,
“c:/mingw/bin/…/lib/gcc/mingw32/6.3.0/include/c++/mingw32”,
“c:/mingw/bin/…/lib/gcc/mingw32/6.3.0/include/c++/backward”,
“c:/mingw/bin/…/lib/gcc/mingw32/6.3.0/include”,
“c:/mingw/bin/…/lib/gcc/mingw32/6.3.0/…/…/…/…/include”,
“c:/mingw/bin/… /Lib / GCC / mingw32 / 6.3.0 / include fixed “is obtained as follows: CMD -” GCC – V – E – x C + +-

3. The results are as follows:

](https://img-blog.csdnimg.cn/20181119144708654.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MDY5NDUyNw==,size_16,color_FFFFFF,t_70)此图为VScode中c_cpp_properties.json文件,其中"includepath"的路径设置为我们需要解决的问题

summary

This article is about the analysis of vscode in Windows environment_ cpp_ properties.json This is the introduction of the article on file configuration (recommended). More about vscode C_ cpp_ properties.json File configuration content, please search the previous articles of developeppaer or continue to browse the related articles below. I hope you can support developeppaer more in the future!

Recommended Today

Construction of Vue development environment and project creation under mac

start First of all, let’s take a look at the overall development environment of Vue. Homebrew: package manager under MAC system, similar to apt get under Linux, windows control panel – install and remove program Node.jsJavaScript runtime, which is similar to simultaneous interpretation in international conferences, can’t run various programming languages directly between different systems […]