map::begin
#include <iostream>
#include <map>
int main() {
std::map<int, std::string> myMap;
myMap[1] = "One";
myMap[2] = "Two";
myMap[3] = "Three";
std::map<int, std::string>::iterator it = myMap.begin();
std::cout << "Key: " << it->first << ", Value: " << it->second << std::endl;
return 0;
}