unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
项目--->>...属性--->>c/c++--->>预编译头--->>不使用预编译头,即可
本文介绍了解决Visual Studio中预编译头文件错误的方法。当遇到'未找到预编译头结尾'的错误提示时,可以通过检查源代码中是否包含了预编译头文件(例如'stdafx.h'),或者在项目属性设置中调整预编译头的使用选项来解决问题。
unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
项目--->>...属性--->>c/c++--->>预编译头--->>不使用预编译头,即可

被折叠的 条评论
为什么被折叠?