摘要:
要包含头文件#include <iostream>#include <fstream>using namespace std; ifstream ReadFile; ofstream WriteFile; ReadFile.clear(); WriteFile.clear(); setlocale(LC_ALL,"Chinese-simplified"); ReadFile.open(strSrcFileName,ios::in); //读取文件 WriteFile.open(strDestFileName,ios::out); //读取文件 set 阅读全文