The solution that vscode c can't find the header file
This article will explain in detail the solution to the problem that vscode c can not find the header file. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
What if vscode c can't find the header file?
If the version is different, it will not be found when you open the same project.
The solution to this problem is as follows:
1. Open "VS2017", click "Project", and open "Project Properties".
Related recommendation: vscode getting started tutorial
2. To configure the attribute, select "CCMG +".
3. Click to select the "General" option.
4. Click the "drop-down" option.
5. Select Edit.
6. Attach the containing directory and click "* folder".
7. Click "." in the upper right corner. Options.
8. Select "Select folder" directly without modification.
9. The header file path has been added.
10. Compile and debug again, and the compilation is complete.
This is the end of the article on "vscode c can not find the solution to the header file". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.