DoubleList SingleList SingleList1都是我已经删除的类 而且在文件内搜索这三个词都找不到 编译也没有错误 而连接时却有这三个错误
错误代码如下:
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\桌面\LinkList1\DoubleList.cpp': No such file or directory
SingleList.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\桌面\LinkList1\SingleList.cpp': No such file or directory
SingleList1.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\桌面\LinkList1\SingleList1.cpp': No such file or directory
Generating Code...
我本来编译是通过了的 可是我第二次打开运行就出了这种情况 真让人费解
因为连接时的错误不指示那一行 不是那一行的问题吧 可能是文件没删干净 可是我又找不到残余 怎么办?
解决方法:1。在资源管理器中删除xxx.h xxx.cpp2。以文本方式打开MMM.dsp,删除以下两部分//xxx为你要删除的类,MMM为你的工程名称SOURCE=.\XXX.cpp# End Source File# Begin Source FileSOURCE=.\XXX.h# End Source File# Begin Source File或则:按CTRL+W打开ClassWizard,此时会弹出对话框提示xxx.h和xxx.cpp已经不存在了,确认后弹出Repair Class Information对话框,我们点Remove按钮即可将其移除!就...