会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lian369
博客园
首页
新随笔
联系
订阅
管理
2023年5月12日
string容器(下)
摘要: 六、string字符串比较 1、功能描述:字符串之间的比较 2、比较方式:字符串比较是按字符的ASCII码进行对比 = 返回0 > 返回1 < 返回-1 3、函数原型: (1)int compare(const string &s)const; //与字符串s比较 (2)int compare(co
阅读全文
posted @ 2023-05-12 18:30 连师傅只会helloword
阅读(9)
评论(0)
推荐(0)
编辑
公告