编译出现问题:unexpected end of file while looking for precompiled header directive 解决方案: 需要在文件头上添加一句: #include "stdafx.h" 这个文件定义了源程序为C++格式。 否则文件需要保存为.C格式 |
编译出现问题:unexpected end of file while looking for precompiled header directive 解决方案: 需要在文件头上添加一句: #include "stdafx.h" 这个文件定义了源程序为C++格式。 否则文件需要保存为.C格式 |