Home  >  Article  >  Development Tools  >  What should I do if vscode c cannot find the header file?

What should I do if vscode c cannot find the header file?

藏色散人
藏色散人Original
2019-12-23 09:09:1110282browse

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

What should I do if vscode c cannot find the header file?

2. Configure properties and select "C/C".

What should I do if vscode c cannot find the header file?

3. Click to select the “General” option.

What should I do if vscode c cannot find the header file?

4. Click the "Drop-down" option.

What should I do if vscode c cannot find the header file?

5. Select "Edit".

What should I do if vscode c cannot find the header file?

6. Attach the containing directory and click "*Folder".

What should I do if vscode c cannot find the header file?

7. Click the "....." option in the upper right corner.

What should I do if vscode c cannot find the header file?

#8. Directly select "Select Folder" without modification.

What should I do if vscode c cannot find the header file?

#9. The header file path is added.

What should I do if vscode c cannot find the header file?

#10. Compile and debug again, and the compilation is completed.

What should I do if vscode c cannot find the header file?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn