On Thu, Nov 20, 2003 at 10:39:05PM -0600, Jay Sern Liew wrote:
how do I find out the maximum (and minimum) value a long and int will hold
in C? (before it overflows or underflows)

if it's compiler-dependent, then does anyone know where I can find the GCC
documentation for stuff like that?

Wrong mailing list - if you don't already know really basic C, you ain't a hacker.

Try <limits.h>.

--
Christopher Vance
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to