stl c++ map code example
Example 1: map in cpp
#include <map>
// empty map container
map<int, int> gquiz1;
// insert elements in random order
gquiz1.insert(pair<int, int>(1, 40));
Example 2: map of maps c++
map <typename,map<typename,typename>> mp;
map[key1][key2]=values