I have a map declared as follows:
map < string , list < string > > mapex ; list< string > li;
How can I disp
Well it depends on how you want to display them, but you can always iterate them easily:
typedef map>::const_iterator MapIterator;
for (MapIterator iter = mapex.begin(); iter != mapex.end(); iter++)
{
cout << "Key: " << iter->first << endl << "Values:" << endl;
typedef list::const_iterator ListIterator;
for (ListIterator list_iter = iter->second.begin(); list_iter != iter->second.end(); list_iter++)
cout << " " << *list_iter << endl;
}