fatal error C1010: unexpected end of file while looking for precompiled header directive
2009-08-04 13:56
483 查看
fatal error C1010: unexpected end of file while looking for precompiled header directive该如何解决
document.body.oncopy = function() {if (window.clipboardData) {
setTimeout(function() {
var text = clipboardData.getData("text");
if (text && text.length>300) {
text = text + "/r/n/n本文来自CSDN博客,转载请标明出处:" + location.href;
clipboardData.setData("text", text);
}
}, 100);
}
}
function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}
如
果发生错误的文件是由其他的C代码文件添加进入当前工程而引起的,则Alt+F7进入当前工程的
Settings,选择C/C++选项卡,从Category组合框中选中Precompiled Headers,选择Not Using
Precompiled headers。确定
如果发生错误的文件原本是该工程中的,则检查该文件头部有没有#include "stdafx.h"语句,没有的话添加。
如果还不行,也有可能是定义的类或结构体等最后忘了加分号,注意一下。
相关文章推荐
- 如何解决unexpected end of file while looking for precompiled header directive的问题
- 【VC++】如何解决unexpected end of file while looking for precompiled header directive
- 【转载】fatal error C1010: unexpected end of file while looking for precompiled header directive
- vc++6.0 编译时报错Fatal Error C1010 unexpected end of file while looking for precompiled header directive
- 新添h/cpp的错误:unexpected end of file while looking for precompiled header directive
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- vc6:unexpected end of file while looking for precompiled header directive
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- fatal error C1010: unexpected end of file while looking for precompiled header directive。
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- VC++6.0中"unexpected end of file while looking for precompiled header directive"的解决方法
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- VC++6.0中常出现的"unexpected end of file while looking for precompiled header directive"的问题解决方法
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- 如何解决unexpected end of file while looking for precompiled header directive的问题
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- 出现此问题的解决方法: unexpected end of file while looking for precompiled header directive
- 如何解决unexpected end of file while looking for precompiled header directive的问题