Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

minmax.h

Go to the documentation of this file.
00001 #ifndef HEADER_MINMAX_H
00002 #define HEADER_MINMAX_H
00003 
00004 /**
00005  * Minimum.
00006  */
00007 inline int
00008 min(int one, int second)
00009 {
00010     return one <= second ? one : second;
00011 }
00012 /**
00013  * Maximum.
00014  */
00015 inline int
00016 max(int one, int second)
00017 {
00018     return one >= second ? one : second;
00019 }
00020 
00021 #endif
00022 
00023 

Generated on Wed Jun 1 09:54:31 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2