#include <iostream>
#include <fstream>
using namespace std;
int main(int argc,char * argv[])
{
char ch;
ofstream fout(argv[2]);
ifstream fin(argv[1]);
while(fin)
{
ch=fin.get();
fout << ch;
}
}
c++源代码:拷贝文件
最新推荐文章于 2024-03-03 16:46:01 发布