会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
WE ARE ARTISTS
博客园
首页
新随笔
联系
订阅
管理
2019年5月3日
C/C++字符串使用整理
摘要: 1.应用于查找的find()函数 #include<iostream>#include<string>using namespace std;int main(){ string str; cin>>str; cout<<"ab在str中的位置:"<<str.find("ab")<<endl; //
阅读全文
posted @ 2019-05-03 23:08 xeosys
阅读(133)
评论(2)
推荐(0)
编辑
公告