I am trying to figure out how to see if a find in a map didn't find what I was looking for....if i do:
map<....>::iterator it = NULL;
it = mapInstance.find("hello");
and suppose "hello" doesn't exist in the map, then how will I know?? 'it' will not point to NULL if the find is unsucessful, am I correct? How can I figure out the sucess of the find?