#include#include
#includeIn this example, we use the 'end' function to iterate over the map and print all key-value pairs. The loop starts from the beginning of the map and continues until the iterator points to the end of the map. Package/library: STL (Standard Template Library)#include