会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wellerency
博客园
首页
新随笔
联系
订阅
管理
2022年3月20日
巧用stringのfind函数
摘要: string的find函数用好了真的很方便,就和set函数一样秒杀一些题! 1 void test8() 2 { 3 string s("dog bird chicken bird cat"); 4 5 //字符串查找 找到后返回首字母在字符串中的下标 6 7 // 1. 查找一个字符串 8 cou
阅读全文
posted @ 2022-03-20 14:09 wellerency
阅读(92)
评论(0)
推荐(0)
编辑
公告