If one of the values ββis the key for the other, you can use the Dictionary data structure or another map type structure.
http://msdn.microsoft.com/en-us/library/xfhwa508.aspx (.NET only)
As MSalters pointed out, MFC also has its own card type, CMap .
Also check std::map if you want to use something like this in code other than CLI or MFC.
source share