c ++ visual studio could not import the header file

I encountered a problem description:

Solution to the problem:
(1) Right-click Project -> Add -> Class

(2) Enter the class name, the system automatically help you fill .h, .cpp file prefix

NOTE: This problem occurs because of a beginner when introducing or creating header files, folders directly in the project header or source file to create a folder inside. This item has been there can not find the file.

If the rest of Daniel have a better solution, hoping to be able to share it.

Guess you like

Origin www.cnblogs.com/ggdeblog/p/10979871.html