Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C++ Tutorial
STL Algorithms Min Max 14 codes
Home
C++ Tutorial
STL Algorithms Min Max
1 Call max() with special comparison function
2 Call min() with special comparison function
3 Find and print maximum elements in a vector
4 Find and print minimum elements in a vector
5 Max
6 Min
7 Min and max
8 Use max and min functions
9 Use max_element to get the maximum element in a container
10 Use max_element to get the maximum value
11 Use max_element with criteria function
12 Use min_element to get the minimum element in a container
13 Use min_element to get the minimum value
14 Use min_element with criteria function