Click to See Complete Forum and Search --> : Equivalent of std::map


Lars_V_J
November 2nd, 2009, 09:45 AM
Hi

If I want to do the equivalent of the unmanaged std::map in managed c++, what class or whatever do I use? Is there a
#using std.map or something (with the same properties) ?

Thanks in advance

Alex F
November 2nd, 2009, 12:44 PM
You can use Dictionary class:
http://msdn.microsoft.com/en-us/library/xfhwa508.aspx

Another way is STL .NET, which has map class:
http://msdn.microsoft.com/en-us/library/ms379600(VS.80).aspx