word2007求和怎么弄:visual c++.net不能打开"iostream.h"求救

来源:百度文库 编辑:高校问答 时间:2024/05/03 06:30:11
第一次用visual c++.net编写简单的C++程序,在最开始的几句包含头文件的语句里,就提示不能打开头文件,为#include "iostream.h" 那一行,其他的头文件好象能打开。求救!
程序很简单:

#include "stdafx.h"
#include "iostream.h"

int _tmain(int argc, _TCHAR* argv[])
{ int a;
cout<<"hello wrod!"<<endl;
cin>>a;
return 0;
}
用#include <iostream.h>也是一样的。

#include <iostream.h>
才对。