Qwertiy
0
Q:

check if a key is in a map

if ( m.find("f") == m.end() ) {
  // not found
} else {
  // found
}
2

New to Communities?

Join the community