--------------------Configuration: exx1 - Win32 Debug--------------------
Compiling...
exx1.cpp
e:\vcsavs\exx1\exx1.cpp(1) : fatal error C1083: Cannot open include file: 'iostrem': No such file or directory
Error executing cl.exe.exx1.exe - 1 error(s), 0 warning(s)
vc++6.0 运行时的!怎么办?
我的程序:
#include<iostream>
int main()
{
std::cout<<"hello!/n";
return 0;
}
F7 执行
Ctrl+F5 运行!不灵怎么办?

解决方案 »

  1.   

    引用出错应该是#include<iostream.h>
      

  2.   

    你打错了吧?
    不是"iostrem"
    而是#include<iostream.h>
      

  3.   

    程序没有任何问题
    e:\vcsavs\exx1\exx1.cpp(1) : fatal error C1083: Cannot open include file: 'iostrem'错误信息是找不到“iostrem”,实际应该是#include<iostream>
    你在错误信息下面写的程序是正确的
      

  4.   

    可以运行啊?#include<iostrem>
    #include<iostream>
      

  5.   

    #include<iostream>
    using namespace std;//加上这一句int main()
    {
    std::cout<<"hello!/n";
    return 0;
    }
      

  6.   

    #include <iostream>
    using namespace std;
      

  7.   

    两种方法:1.include <iostream.h>
    2.include <iostream>
    using namespace std;详细内幕参考msdn