c++文件拷贝

#include<fstream>
void Copyfile( char* FileSource, char* FileItem )
{
fstream fsCopee( FileSource, ios::binary | ios::in ) ;
fstream fsCoper( FileItem, ios::binary | ios::out ) ;
fsCoper << fsCopee.rdbuf() ;
}

posted @ 2019-10-30 09:56  侧耳倾听Zx  阅读(403)  评论(0编辑  收藏  举报