可以换成#include试一试。有的编译环境下可能要在下面加上using namespace std;这句话(分号一定要的)。希望对你有帮住。
很显然,#include"iostream.h" 头文件申明不要忘记加 .h !!!
难道你用的是。C文件