会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
moonのsun
管理
2021年8月11日
STL 容器操作
摘要: vector set转化为vector:vec.assign(set.begin(), set.end()) map 1. map默认从小到达排序,想要从大到小,可以: map<string, int, greater<string>> 2. map 不可以使用sort排序!不过可以使用在定义map
阅读全文
posted @ 2021-08-11 19:51 moonのsun
阅读(40)
评论(0)
推荐(0)