The following gives compiler error invlaid conversion from int to char*
enum tthings {thone, thtwo};
std::map<std::string, tthings> thingmap;
void initmap()
{
thingmap['one'] = thone; // on this lin
thingmap['two'] = thtwo;
};
Thanks,
Daniel