Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::count is an STL algorithm for counting elements in a container. For conditional counting use std::count_if.
#include <algorithm> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.