ofstream不能作为函数形参
void (ofstream outfile)
×××
void (string filename){
ofstream outfile(filename,ios::out);
}
ofstream不能作为函数形参
void (ofstream outfile)
×××
void (string filename){
ofstream outfile(filename,ios::out);
}