VS2005编C++出错,无法打开包括文件:“iostream.h”
我用VS2005编C++,结果很简单的程序都出错,
#include<iostream.h>
void main()
{
cout<<"aaaa"<<endl;
}
运行出现“无法打开包括文件:“iostream.h”: No such file or directory”的错误------已包含“iostream.h”。
然后在#include<iostream.h>上面加上“using namespace std;”
运行出现:
“error C2871: “std”: 具有该名称的命名空间不存在”
#include<iostream>一样的错误。
哪位知道的大哥说一下。
解决立即结帖。