C Programming on the IBM PC (C Programmers Reference Guide Series)

count

template <class InIter, class T>    ptrdiff_t count(InIter start, InIter end, const T &val);

The count( ) algorithm returns the number of elements in the sequence beginning at start and ending at end that match val. The type ptrdiff_t is defined as some form of integer.

Категории