会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
UG二次开发
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
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)
去除string前后空格
摘要: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)
公告