Subj : Re: Help! STL map has something wrong if key type is char*!! To : borland.public.cpp.borlandcpp From : "Henning Färnström" Date : Thu Nov 20 2003 07:33 pm "cylin" wrote in message news:bp1son$1j9cpl$1@ID-154203.news.uni-berlin.de... > This code is successful using Microsoft VC++ 6.0. > What's wrong with BCC? There is nothing wrong with BCC. It is just that MSVC++6.0 probably uses string pooling by default, which merges duplicate strings, making two "aaa"s point to the same memory. In BCC this feature is off by default (you can enable it, -d flag I think). Though I would recommend using std::string instead of char * as it has proper operators. -- Henning Färnström .