摘要: 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);// 阅读全文
posted @ 2010-10-07 15:29 Keosu 阅读(625) 评论(0) 推荐(0) 编辑