min « STL Algorithms Min Max « C++






1.Use min for char and integer
2.Call min() with special comparison function
3.Get min and max value from a vector with your won logic
4.Finding the Minimum and Maximum of a Data Type