Oh alright, I gotcha. I think when I was reading about copy, I
saw a "mock-up" implementation of it so that squelched my desire
to do my own; trust me, I like to know what's going on behind
the scenes too [just not when I don't have to].
--Paul
Printable View
Oh alright, I gotcha. I think when I was reading about copy, I
saw a "mock-up" implementation of it so that squelched my desire
to do my own; trust me, I like to know what's going on behind
the scenes too [just not when I don't have to].
--Paul
original code:
for(CurrentName = Names.begin(); CurrentName != Names.end(); ++CurrentName);//care this, should not has a semicolon
{
cout << (*CurrentName).second << endl;
}