c++输出流 ios_base::app无法编译//虚心求教
#include<fstream>#include<string>usingnamespacestd;intmain(){ofstreamfout("phone.txt"...
#include <fstream>
#include <string>
using namespace std;
int main() {
ofstream fout("phone.txt",iosmode::app);
fout<<"dfdf";
fout.close();
return 0;
}
提示ios_base undecleared或者unresolved external symbol, 展开
#include <string>
using namespace std;
int main() {
ofstream fout("phone.txt",iosmode::app);
fout<<"dfdf";
fout.close();
return 0;
}
提示ios_base undecleared或者unresolved external symbol, 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询