摘要: 在C++中如何遍历数组(集合)中的每一个元素?对于这个问题,相信你第一反应想到的是 for 循环。 #include <iostream> #include <set> using namespace std; void main() { int a[] = {1,2,3,4,5}; for (in 阅读全文
posted @ 2019-10-09 20:23 repinkply 阅读(447) 评论(0) 推荐(0)