#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
using namespace std;
int main()
{
ofstream fs("123.txt",ios::app);
fs<<setw(7)<<"234234"<<setw(3)<<"12"<<endl;
system("pause");
return 0;
}
写入txt
最新推荐文章于 2022-06-30 09:23:59 发布