Re: [NEWBIE] how big is a long/long long?

From: Angus Mezick (amezick@edgil.com)
Date: 04/23/99


write a short C program and do a sizeof() on various variables,
printing out the results.  The result is in bytes, not bits.
--Angus




Michael Cunningham <malice@EXIT109.COM> on 04/23/99 01:30:25 AM


You know.. I have coded muds for a few years now and I actually have
never figured out what is the maximum number that can fit in a long
or long long variable. Any ideas?

This would be using gcc on a x86 running linux.

Thanks
Mike..
<bobbit>


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST