VC编译时出现下面错误该怎么办?

winsunII 2003-08-24 11:38:42
fatal error C1010: unexpected end of file while looking for precompiled header directive
...全文
30 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
winsunII 2003-08-24
  • 打赏
  • 举报
回复
问题解决了
zhouyong0371 2003-08-24
  • 打赏
  • 举报
回复
This error can be caused by specifying an incorrect file as a header file, or by specifying an include file with the /Yu (Use Precompiled Header) command line option that is not listed in the source file as an include file.
akiko 2003-08-24
  • 打赏
  • 举报
回复
出错文件顶部加上#include "stdafx.h"试试

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧