64,644
社区成员
发帖
与我相关
我的任务
分享
#include <fstream>
#include <iostream>
int main()
{
std::fstream out;
out.open("d:\\86\\4.txt", std::ios::out | std::ios::app | std::ios::in, 0);
out << "show me the money";//编译器显示错误在这里
out.close();
system("pause");
return 0;
}
#include <fstream>
#include <iostream>
int main()
{
std::fstream out;
//out.open("d:\\86\\4.txt", std::ios::out | std::ios::app | std::ios::in, 0);
out.open("1.txt", std::ios::out | std::ios::app | std::ios::in);
out << "show me the money";//编译器显示错误在这里
out.close();
system("pause");
return 0;
}