{
string inname; string outname; string String; int i = 1;
cin >> inname >> outname; ofstream out(outname.c_str()); ifstream in(inname.c_str()); if(in.fail()||out.fail()) {
cout << \打开文件失败!\ return 0; }
while(!in.eof()) {
getline(in,String);
cout < return 0; }