会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
戴上痛苦面具的菜鸡
博客园
首页
新随笔
联系
订阅
管理
09 2021 档案
map<string,bool> name;
摘要:string s; map<string,bool> name; name[s]=true
阅读全文
posted @
2021-09-04 22:13
戴上痛苦面具的菜鸡
阅读(114)
评论(0)
推荐(0)
stoi(字符串转整数)
摘要:stoi用来转string的,atoi转化的是char[]. char[]转string可以直接赋值或者用一个循环 string转char str.data() str.c_str() str.copy() 个人感觉stoi的能力还是要比atoi的能力要大一些的,stoi可能往往要比atoi要好用。
阅读全文
posted @
2021-09-03 23:59
戴上痛苦面具的菜鸡
阅读(461)
评论(0)
推荐(0)
公告