Home >Development Tools >VSCode >What should I do if vscode c cannot find the header file?
What should I do if c cannot find the header file?
The versions are different, and when you open the same project, you will be prompted that it cannot be found.
The method to solve this problem is as follows:
1. Open "VS2017", click "Project", and open "Project Properties".
Related recommendations: vscode introductory tutorial
2. Configure properties and select "C/C".
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 the "....." option in the upper right corner.
#8. Directly select "Select Folder" without modification.
#9. The header file path is added.
#10. Compile and debug again, and the compilation is completed.
The above is the detailed content of What should I do if vscode c cannot find the header file?. For more information, please follow other related articles on the PHP Chinese website!