关于C++6.0的使用问题.大家来帮帮!

来源:百度知道 编辑:UC知道 时间:2024/06/17 16:57:16
我用的是中文版C++6.0.创天的版本。怎么一编译就出现这个:d:\123\11.cpp(1) : fatal error C1083:Cannot open include
file: 'oistream.h': No such file or directory
Error executing cl.exe.
这个是什么意思?路径不对?我装把它装在了E:\c++6.0\MSDev98\Bin\MSDEV.EXE这里怎么该路径啊?谢谢大家!十分感谢!
改了还是这样:f:\microsoft visual studio\vc98\include\iostream.h(52) : fatal error C1083: Cannot open include file: 'ios.h': No such file or directory
Error executing cl.exe.连最简单的程序:
#include <iostream.h>
void main()
{
cout<<"hello!"
}
都运行不了!郁闷死了!帮帮我!

很奇怪啊,编译器为什么会去找ios.h呢?你明明就写的是iostream啊~~~
手上没有6.0,不能找一下设置,你应该去一个标签卡里,里面有一个目录选项,选择之后,检查目录的路径是否有效~~

如果现在这个工程不行的话,试着重新建立一个工程试试~~

“工具->选项->路径”,“显示路径”选择“包含文件”,将“f:\microsoft visual studio\vc98\include”添加到下面的路径列表中。

'oistream.h' 写错了吧, 是不是 "iostream.h"

去下一个英文版的Visual C++ 6.0或Visual Studio 6.0吧,英文版的更好更稳定。