美文网首页
64 - Working with Files

64 - Working with Files

作者: 社交帐号直接注册 | 来源:发表于2018-01-09 21:21 被阅读0次
#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