Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ map key exists

if ( !(myMap.find("key") == myMap.end()) ) {	// "key" exists	
  
} else {	// not found	
  
}
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #map #key #exists
ADD COMMENT
Topic
Name
6+7 =