Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Standard algorithm to get the heighest of two values. To get the lowest of two values, use std::min.
{
const int heighest = std::max(a,b);
}
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.