Saturday, May 9, 2009

In c++ STL Difference betwen pair<const char,int> and map<char,int>?

in c++ STL Difference betwen pair%26lt;const char,int%26gt; and map%26lt;char,int%26gt;?


pleas explain operation of each function.

In c++ STL Difference betwen pair%26lt;const char,int%26gt; and map%26lt;char,int%26gt;?
Google works best.





(Hint: pair is utility element. It's a single unit. Map is a giant list of such pair units, where a pair is a key and its data.)
Reply:map can be considered as list of pairs

online survey

No comments:

Post a Comment