Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::max_element is an STL algorithm to find the heighest value in a container.
#include <algorithm> |
GetKeyWithMaxValue is a std::map code snippet to obtain the key with the highest value.
#include <algorithm> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.