会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BlueOceans
联系方式:dianxinshidian@126.com
博客园
首页
新随笔
联系
订阅
管理
2018年9月3日
c++ string替换指定字符串及替换所有子串
摘要: 替换单个字符串 string fnd = "dataset"; string rep = "labels"; string buf = "d:/data/dataset/ii.jpg"; buf = buf.replace(buf.find(fnd), fnd.length(), rep); 替换所
阅读全文
posted @ 2018-09-03 14:54 BlueOceans
阅读(17371)
评论(0)
推荐(1)
公告