随笔分类 -  C++

摘要:bool copyFile(const char *src_file,const char *dst_file) { return CopyFile(char2TCAHR(src_file) , char2TCAHR(dst_file) , TRUE); } 阅读全文
posted @ 2021-10-07 11:59 刘朋1102 阅读(60) 评论(0) 推荐(0)
摘要:1 extern void trim(string &s) 2 { 3 if( !s.empty() ) 4 { 5 s.erase(0,s.find_first_not_of(" ")); 6 s.erase(s.find_last_not_of(" ") + 1); 7 } 8 } 阅读全文
posted @ 2021-10-07 11:54 刘朋1102 阅读(150) 评论(0) 推荐(0)