15757753770 发表于 2015-10-28 19:13:19

c 无法打开包含文件:“fstream.h”


无法打开包含文件:“fstream.h”
.
分类: VS的应用2013-01-16 12:331640人阅读评论(0)收藏举报


在VS2010里面使用vc6.0的那种#include <fstream.h>方式,但是编译时提示fatal error C1083: 无法打开包括文件:“fstream.h”: No such file or directory。

解决方法:

          把         #include <fstream.h>

          改成   
#include<fstream>
using namespace std;

          编译、运行都顺利通过~~~


页: [1]
查看完整版本: c 无法打开包含文件:“fstream.h”