Vscode detected ා include error, please update includepath.
Recently, the computer has redone and re installed one side of vscode. However, when writing the code, I found that the header file was wrongly marked and could not be found. Here is my solution:
Execute command view
g++ -v -E -x c++ -
Copy the contents of the red box above
Press in vscode
ctrl+shift+pSearch for JSON files
Paste the red box library path in the include path, and pay attention to the double quotation mark and comma format
If you have any more questions, try it
"/usr/include",Put it on the first line, as above, to solve the problem
This article about vscode detected ාාාාාාාාාාාාාාාාාාාා), please update the solution of includepath. More relevant vscode detected ාාinclude error content, please search the previous articles of developpaer or continue to browse the related articles below, and!