diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/author.cpp | 4 | ||||
-rw-r--r-- | examples/define.h | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/examples/author.cpp b/examples/author.cpp index ce1c58c..59cc7ab 100644 --- a/examples/author.cpp +++ b/examples/author.cpp @@ -1,8 +1,8 @@ /*! \class WindowsNT * \brief Windows Nice Try. * \author Bill Gates - * \author Several hundred furry animals gathered in a cave and grooving - * with a pit. + * \author Several species of small furry animals gathered together + * in a cave and grooving with a pict. * \version 4.0 * \date 1996-1998 * \bug It crashes a lot and requires huge amounts of memory. diff --git a/examples/define.h b/examples/define.h index 393010e..68d2453 100644 --- a/examples/define.h +++ b/examples/define.h @@ -4,7 +4,14 @@ This is to test the documentation of defines. */ +/*! + \def MAX(x,y) + Computes the maximum of \a x and \a y. +*/ + /*! - The define ABS computes the absolute value of its argument \a x. + Computes the absolute value of its argument \a x. */ #define ABS(x) (((x)>0)?(x):-(x)) +#define MAX(x,y) ((x)>(y)?(x):(y)) +#define MIN(x,y) ((x)>(y)?(y):(x)) /*!< Computes the minimum of \a x and \a y. */ |