致命错误: iostream.h:没有那个文件或目录

linux下用g++编译一个示例程序,出现错误提示:

致命错误: iostream.h:没有那个文件或目录

解决:

替换所有<iostream.h>为:

<iostream>
using namespace std;