
2005-10-22 06:14
hjp
请问智者
请问 c:\f_c_hjp\c+hjp.cpp(7) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Eror executing cl.exe. 是什么意思? 我 看不懂具体意思? 帮 帮忙
其源文件为
#include<iostream.h>
void main()
{
cout<<"The size of\"this is a string\"is:\t"
<<sizeof("this is a string ")<<endl;
} [p:4]
2005-10-26 10:04
thingi
如果发生错误的文件是由其他的C代码文件添加进入当前工程而引起的,则Alt+F7进入当前工程的Settings,选择C/C++选项卡,从Category组合框中选中Precompiled Headers,选择Not Using Precompiled headers。确定
如果发生错误的文件原本是该工程中的,则检查该文件头部有没有#i nclude "stdafx.h"语句,没有的话添加。
如果还不行,也有可能是定义的类或结构体等最后忘了加分号,注意一下。
2005-12-27 13:40
坏宝宝
谁能帮帮我哦!!
我很着急哦!!
用for循环编程
1*1+2*2+3*3+……10*10
好心人帮帮我哦
用c语言哦
页:
[1]
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.