#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ofstream buckyfile;
buckyfile.open("tuna.txt");
buckyfile << "i love tuna" << endl;
buckyfile.close();
}
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ofstream buckyfile;
buckyfile.open("tuna.txt");
buckyfile << "i love tuna" << endl;
buckyfile.close();
}
本文标题:64 - Working with Files
本文链接:https://www.haomeiwen.com/subject/eungnxtx.html
网友评论