Path: utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!apple!ksand From: ksand@Apple.COM (Kent Sandvik) Newsgroups: comp.sys.mac.programmer Subject: Re: SUMMARY: Trying to use MacTCP with THINK LSC 3.02 - no solution yet. Message-ID: <48028@apple.Apple.COM> Date: 13 Jan 91 21:42:05 GMT References: <1991Jan9.140919.2757@nada.kth.se> <1991Jan9.222430.549@csn.org> <1991Jan11.092214.28245@nada.kth.se> Organization: Apple Computer Inc., Cupertino, CA Lines: 22 In article <1991Jan11.092214.28245@nada.kth.se> mattiasb@dront.nada.kth.se (Mattias Berglund) writes: > >On the other hand, you are quite right about an 'int' in MPW C should be >declared as a 'long' in THINK-C, so now I'm confused. Could someone at >Apple explain? The beautiful language we call "C" does not define the sizes of types, only gives directions such as a long should be bigger than a short and so on. Many compiler developers have their ideas about int sizes, 16 or 32 bits. You have the same confusion in the PC world. The most elegant way is to avoid ints totally, and use long or short. Regards, Kent Sandvik -- Kent Sandvik, Apple Computer Inc, Developer Technical Support NET:ksand@apple.com, AppleLink: KSAND DISCLAIMER: Private mumbo-jumbo Zippy++ says: "C++, anything less is BCPL..."