摘要: 通过迭代器遍历vector和map的操作见以下链接: c++ vector基本知识 c++ map基本知识 使用迭代器iterator //使用迭代器iterator auto iter0 = v.begin(); //返回第一个元素对应的迭代器 auto iter1 = v.end() ; //返 阅读全文
posted @ 2022-06-17 10:58 编程驴子 阅读(356) 评论(0) 推荐(0) 编辑