为什么vs2005不能加载以前的C++程序,提示出错是#include <iostream.h>不能加载?
来源:百度知道 编辑:UC知道 时间:2024/05/16 23:22:09
出错提示:book.h(10) : fatal error C1083: 无法打开包括文件:“iostream.h”: No such file or directory
这样写
#include <iostream>
还要引用空间
using namespace std;
例:
#include <iostream>
using namespace std;
void main()
{
cout << "XX"<<endl;
}
感觉C++的程序在vs上的转换多多少少总是会出现一些问题