Sign in to follow this  
bharath

Using 'multimaps' in C++

Recommended Posts

Endurion    5408
Are you asking how to declare the template?

std::multimap<TCHAR,long>


But i have a feeling you want to use TCHAR-Arrays as strings. This will not work unless you provide a comparing function. If you don't provide one only the pointers will be compared, not the content.
If you want to basically use TCHAR*-"Strings" i'd recommend to use either std::string or std::wstring depending on your settings and save yourself a huge headache.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this