SyntaxFix
Write A Post
Hire A Developer
Questions
m.find == m.end() // not found
If you want to use other API, then find go for m.count(c)>0
m.count(c)>0
if (m.count("f")>0) cout << " is an element of m.\n"; else cout << " is not an element of m.\n";