home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!rpi!uwm.edu!ogicse!reed!bowman
- From: bowman@reed.edu (BoBolicious)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Sozobon C - a free C for the Mac, too?
- Message-ID: <1993Jan4.202040.26524@reed.edu>
- Date: 4 Jan 93 20:20:40 GMT
- Article-I.D.: reed.1993Jan4.202040.26524
- References: <29848@castle.ed.ac.uk> <3917@isgtec.isgtec.com> <C0AKGC.IsJ@news.cso.uiuc.edu>
- Organization: Reed College, Portland, OR
- Lines: 18
-
- In article <C0AKGC.IsJ@news.cso.uiuc.edu> cole@alexia.lis.uiuc.edu (Sandra Stewart-Cole) writes:
- >The Mac int standard is 16-bit ints and 32-bit longs. If you need to declare an
- >int and get 32 bits, Think C has a switch for that, but it should not ever be
- >needed on the Mac specificly. I'm not really sure why anyone would ever need
- >that unles one is porting in code from a system that always uses 32-bit ints,
- >since on the Mac you have a standard long of 32 bits.
-
- Like, say, MPW C?
-
- I *guess* you could talk about a "Mac int standard", but what's really going
- on is that Pascal uses 16-bit ints. Most C compilers these days use 32-bit
- ints. Personally, I think ints are stupid to use, because of this uncertainty
- as to what is meant; far better to specifically use shorts & longs.
-
- cheers,
- bobo In seeking the unattainable,
- bowman@reed.edu simplicity only gets in the way.
- Eternal nothingness is fine if you happen to be dressed for it. - Woody
-