home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20629 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.4 KB

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