I instantiated my multimap as shown below. But I do not know how to print out elements of multimap

  c++, data-structures, multimap
int numbers;
string string1;
string string2;

multimap<string, pair<string, int>>myMultiMap;

So I wanted to know how to insert, find and display items using multimap.
I have 2 C++ style string and integers which I want to take from user and insert into multimap by sorting numbers. So I instantiated my MultiMap like this.

Source: Windows Questions C++

LEAVE A COMMENT