33,311
社区成员
发帖
与我相关
我的任务
分享
#include <fstream>
using namespace std;
int main()
{
ifstream in("1.txt");
ofstream out("2.txt");
char c;
in >> noskipws;
in >> c;
while(in.good())
{
out << c;
in >> c;
}
return 0;
}