会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
久龄
博客园
首页
新随笔
联系
订阅
管理
2018年8月23日
从长字符串中获取想要的字符串
摘要: char hh[512]={0}; strcpy(hh,"PrinterSerialNumber:G11404;PrinterStatus"); string str; str=hh; str=str.replace(str.find("PrinterSerialNumber:"),strlen("
阅读全文
posted @ 2018-08-23 20:09 久龄
阅读(400)
评论(0)
推荐(0)
编辑
公告