Hey Daniweb! I'm here again with another C++ problem.
I am trying to add three pairs into my main vector 'theMap'. I am thinking I need to use the 'insert' function, but I just cant figure out why my syntax is working.
I've tried the 'copy' command as well, no dice.
Here is are my definitions. theMap should pickup one,two, and three.
map<int,string> theMap;
pair<int,string> one,two,three;
** one, two, and three only have three functions. (first,second, and swap).
* pair is a struct.