I want to search my map. If I search for a string that's not listed, it bombs for obvious reason (see the code).
How do I phrase this to do the following:
x = map.find(string)
if x != map.end
-spit it out
-spit out spaces.
Code:it = freq.find ( "ofx" ); cout << it->first;