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:
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!