This is a really simple little question. I have a map that looks like this
map <char *, bool> Accepts
And later I have a loop that reads words in from a long string and puts them into the map like such:
Accepts[(char *)StringFound] = true;
But I'm having problems. It seems the values I assign to the map arent the strings I expect to assign. Is there a way I can cout a list of all the keys?
Sorry to waste anyones time on whats probably a very trivial matter.