c++语言如何创建一个文本文件txt,并且还能将一篇文章写入数据文本文件words.txt中?

如题所述

#include<cstdlib>
int main(void)
{
std::system("echo " + 文章 + ">words.txt");

return 0;
}
温馨提示:答案为网友推荐,仅供参考
相似回答