| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 14322 人关注过本帖, 3 人收藏
标题:VC++常见问题(FAQ)
只看楼主 加入收藏
myajax95
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:30
帖 子:2978
专家分:0
注 册:2006-3-5
收藏
得分:0 
以下是引用funcity在2006-7-21 12:22:17的发言:

Hi,

May I ask a very stupid question?

I am a complete beginner on C++ and I tried to install the eVC4 and wrote a very simple Helloworld program. But error messages kept coming up. I think it is because the "iostream.h" file could not be found in my computer. Just wondering if someone could kindly post the file "iostream.h" as I could not find it anywhere over the internet

Thank you very much for your help

I'm not exactly sure what is eVC4, but looks like the installation is not compete, so "iostream.h" can not be found. If this is the case, I suggest you to reinstall the software instead of looking for a file and copy it to your system. Since it is very likely to happen that after patching this header file in, you will find some other compilation error about some other files.


http://myajax95./
2006-07-24 14:01
wfpb
Rank: 6Rank: 6
等 级:贵宾
威 望:29
帖 子:2188
专家分:0
注 册:2006-4-2
收藏
得分:0 
I also think the question is coming from the uncompletely installation.
If you don't want to install again ,but just want to solve the question now quickly,there is anther way to solve this question you can choose.
You can get "iostream" to instead of "iostream.h", "iostream" is the I/O for the newest standard C++,but when you do this you must write "using namaspace std;" for using that head file since something is in the space.
So,insteading of "iostream.h",you just need write :
#include <iostream>
using namespace std;

[glow=255,red,2]wfpb的部落格[/glow] 学习成为生活的重要组成部分!
2006-07-26 09:56
funcity
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2006-7-21
收藏
得分:0 

Dear myajax95 and wfpb,

Thank you very much for your relpies.

I tried to write the simple code with #include <iostream>
using namespace std;
However, I still encounter the same error "fatal error C1083: Cannot open include file: 'iostream': No such file or directory".
I wonder how I should solve this problem. Thank you very much.

My simple coding is as follows:

#include <iostream>
using namespace std;

int main(void)
{
cout << "Hello!"
<< endl
<< "Welcome to Visual C++"
<< endl << endl;
return 0;
}


p.s., eVC4 stands for "Microsoft Embedded Visual C++ 4.0.

2006-07-26 15:58
wfpb
Rank: 6Rank: 6
等 级:贵宾
威 望:29
帖 子:2188
专家分:0
注 册:2006-4-2
收藏
得分:0 
My QQ number is 460809865.If you want,I can send these files which you need.

[glow=255,red,2]wfpb的部落格[/glow] 学习成为生活的重要组成部分!
2006-07-26 16:22
funcity
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2006-7-21
收藏
得分:0 

Dear wfpb,

I haven't got QQ but my email address is lcnz@hotmail.com.

Thanks for your help and thanks for sharing the files!!

2006-07-26 16:25
wfpb
Rank: 6Rank: 6
等 级:贵宾
威 望:29
帖 子:2188
专家分:0
注 册:2006-4-2
收藏
得分:0 
I 'll send to you at once,but last time.
If the problem also can't be solved,I suggest you'd better download a VC again ,because we can't keep in touch with each other in time which will makes some trouble.

[glow=255,red,2]wfpb的部落格[/glow] 学习成为生活的重要组成部分!
2006-07-26 16:51
wfpb
Rank: 6Rank: 6
等 级:贵宾
威 望:29
帖 子:2188
专家分:0
注 册:2006-4-2
收藏
得分:0 
It's OK now.

[glow=255,red,2]wfpb的部落格[/glow] 学习成为生活的重要组成部分!
2006-07-26 16:58
jallen007
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2006-7-26
收藏
得分:0 

大概是说编译不通过,因为缺少iostrean.h头文件吗???
我外语不太好
wfpb
能也发那个文件给我不
我的email是jallen007@126.com


我要这天,再遮不住我眼,我要这地,再埋不了我心, 要这众生都明白我意,要那诸佛,都烟消云散!
2006-07-27 21:30
jacky842
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2006-7-28
收藏
得分:0 
trouble relly comes...bz...
2006-07-28 21:04
大水牛
Rank: 1
等 级:新手上路
威 望:1
帖 子:233
专家分:0
注 册:2005-11-21
收藏
得分:0 
我是能看不能写啊,哈哈

虽然现在的我什么都不明白,但总有一天,我将包容一切,让优秀变成一种习惯。。。。。。。。。。。。
2006-08-09 23:08
快速回复:VC++常见问题(FAQ)
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017083 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved