Max macros

C++
voted: 0
vote
macros max c++

Simple macros for finding maximal value

#define MAX(a,b) ((a) < (b) ? (b) : (a))
#define MAX3(a,b,c) ( MAX( MAX( (a), (b) ), (c) )
working url: not entered
version: Any
Leave a Comment:
Characters left:
No comments yet.