STL map容器

#include<iostream> #include<map> using namespace std; void printData(map<int, int>&m) { for (map<int, int>::iterator it = m.begin(); it != m.end();it++) { cout << "key:" << it->first << "value" <<
相關文章
相關標籤/搜索