Visual Studio can't 'see' my included header files

后端 未结 10 1152
囚心锁ツ
囚心锁ツ 2020-12-10 00:30

I created an empty \'Demo\' project in Visual Studio 2008 and added some existing projects to my solution. Included \"MyHeader.h\" (other project\'s header) in main.cpp file

10条回答
  •  旧巷少年郎
    2020-12-10 01:25

    If the visual studio says that you miss some file in the current source file folder, there is one solution that i used. Just right click the file you want to add and choose Open Document, if it really doesn't exist, then you should see something like cannot find file in the source file path = "somewhere in your computer", then what you could do is the add your source file into that path first and see if it works.

提交回复
热议问题