Tom said:
Nicholas wrote:
#include <limits.h>
INT_MAX, LONG_MAX, USHRT_MAX. And many more.
See
http://www-ccs.ucsd.edu/c/limits.html .
To the OP: also note that if portability is one of your objectives, you
will want to use the minimal required values for those limits as
specified in the ISO C standard (e.g. 65536 for UINT_MAX, etc.).
Tom: nitpick. Your sig block looks ok, but is not (else it would have
been automatically cut away by my newsreader...): you need to have an
additional space character after those two dashes that start your sig block.
--
Bertrand Mollinier Toublet
"In regard to Ducatis vs. women, it has been said: 'One is a sexy thing
that you've just got to ride, even if it breaks down a lot, costs a lot
of money, and will probably try to kill you'. However, nowadays I can't
seem to remember which one is which." -- Peer Landa