在VS2008中,很多头文件,比如 fstream.h中的.h不再存在了。
* .h后缀是旧iostream库的一部分,是不标准的。
在VS2008中,使用的是,比如#include <fstream>
这些都源于VS2008符合标准C++,因此当程序中出现诸如cout的指令的时候,要用using namespace std语句。
By the way, msdn is so good a tool. If you have any questions, you can search them in msdn, it is quite useful. And, if you can connect with Internet, you can open net-searching in msdn. Then you will get many infomation about your questions on the forum.