min_element « STL Algorithms Min Max « C++






1.Find and print minimum elements in a vector
2.Use min_element to get the minimum element in a container
3.Use min_element with criteria function