C++中如何获取未知map的key
for(auto iter = map.begin(); iter != map.end(); ++iter)
{
iter.first;// =>你要的map的key
}
map.keys()不是这个也是类似吧
C和C++完整教程:https://blog.csdn.net/it_xiangqiang/category_10581430.html
C和C++算法完整教程:https://blog.csdn.net/it_xiangqiang/category_10768339.html