Subj : How to implement a name/value collection in Borland C++ 6? To : borland.public.cpp.borlandcpp From : Bernd Muent Date : Wed Apr 20 2005 07:16 pm Hi together, I like to use a data structure like that: abc => aaaa def => bbbb ghi => cccc F.e. coll("abc") should return "aaaa". I think you call it a name/value-collection. I looked in the help-file for TCollection, but I did not find any example for concrete use. In an MFC project I would do it in that way: CMapStringToString map; map["abc"] = "aaaa"; map["def"] = "bbbb"; And there are methods like: if (map.Lookup( "abc", value)) ... How could I do the same in Borlands C++ 6? Thank you for tips, Bernd .