std::map vContainer;
map::iterator vIterator;
for (vIterator= VContainer.begin(); vIterator != VContainer.end(); vIterator++)
std::cout << vIterator->first << ':' << vIterator->second << std::endl;
**Стандарт С++17**
std::map vContainer;
for (auto const& [key, val] : vContainer)
std::cout << key << ':' << val << std::endl;
===== =====