| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2081 人关注过本帖
标题:编程中,出现Cannot open include file: 'ios.h': No such file or directo ...
只看楼主 加入收藏
yixinyiyibian
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2008-8-22
收藏
 问题点数:0 回复次数:1 
编程中,出现Cannot open include file: 'ios.h': No such file or directory怎么办
编了个简单程序
#include<iostream.h>
void main()
{
     cout<<""Hello,C++!""<<endl;
}
可是,一用VC++编译就出现Cannot open include file: 'ios.h': No such file or directory
这个问题
有没有高手能够帮我解决这个问题
多谢了
搜索更多相关主题的帖子: Cannot open include such file 
2008-08-22 18:01
JnZn558
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-8-24
收藏
得分:0 
[bo][un]yixinyiyibian[/un] 在 2008-8-22 18:01 的发言:[/bo]

编了个简单程序
#include
void main()
{
     cout


朋友! 你VC++是哪版本,6, 2002,2003,2005,还是2008
去VC++里的include文件夹查查ios.h还有ios是否存在

而且你这样写是C的写法,并不是C++
C++应该如此
程序代码:
#include <iostream>

using namespace std;

int main() {
   cout << "Hello, C++!" << endl;
   return 0;
}
2008-08-24 22:26
快速回复:编程中,出现Cannot open include file: 'ios.h': No such file or di ...
数据加载中...
 
   



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

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