what is the easiest way to print out a vector of strings on the console?
I got something like this
map < int, vector<string>>
and i want to print the values to a user-given key.
typemap::iterator p1;
cin >> i
for (pointer = map.begin(); pointer != map.end(); ++pointer)
{
if ((pointer->first) == i)
{
//The program should print the values right here.
}
}