VIII-The Justice. 愿您仕途平稳|

旅玖旅玖

园龄:4年1个月粉丝:1关注:1

MAP用法

1. 初始化 map<int,int> 变量名 map<int,int>stu

2. 遍历 可用迭代器遍历 还可以用 for(auto &a:stu)

               cout<<a.fitst(设立一个stu的迭代器a)

posted @   旅玖旅玖  阅读(42)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起