October 1999
Beginner
304 pages
7h 11m
English
Returns a count of the number of elements within the container equal to value.
#include <algorithm>
cout << value << " occurs "
<< count( svec.begin(), svec.end(), value )
<< " times in string vector.\n"; Read now
Unlock full access