摘要:
C++ File Operation12voidFileHandle(stringname,stringoutfile)3{4ifstreamin(name.c_str());5ofstreamout(outfile.c_str());67if(in){89out<<in.rdbuf();1011}12in.close();13out.close();14}------------------------------------时间 #include<time.h>time_t t = time(NULL);cout << ctime(&t);// 阅读全文