Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

map count function c++

map_name.count(key k)
/*
   Parameters: k which specifies the key to be searched in the map container.
   Return Value: returns the number of times the key K is present in the map container. 
   		  "RETURNS 0"- if the key is not present in the map container.
*/
 
PREVIOUS NEXT
Tagged: #map #count #function
ADD COMMENT
Topic
Name
7+2 =