您的位置:首页 > 其它

一个编译错误 fatal error C1010: unexpected end of file while looking for precompiled header directive

2007-12-06 12:34 507 查看
在工程内添加了新文件(当前工程是简单win32控制台应用,Win32 Console Application

添加之后,编译出现

fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.

错误位置提示在新添加的文件中(.h文件),在这种情况下出现这个错误,一般是该文件没有包含StdAfx.h文件,包含即可.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐