下面程序能够把 Hello 写入 data.txt 文件中。
ofstream fout("data.txt");
cout << "Hello";
fout.close();
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析