From: mschulter AT DOT value DOT net (M. Schulter) Newsgroups: comp.os.msdos.djgpp Subject: Re: # bits in int,char, long, shrttt Date: 30 Apr 1997 18:54:10 GMT Organization: Value Net Internetwork Services Inc. Lines: 29 Message-ID: <5k84gi$7f0$1@vnetnews.value.net> References: <5k81fu$jah$1 AT d2 DOT tufts DOT edu> NNTP-Posting-Host: value.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Brett J. Wiesner (brett AT allegro DOT cs DOT tufts DOT edu) wrote: : could someone tell me how many bits there are in each of these: The following information is for DJGPP, not necessarily other C compilers: : int int = 32 bits (4 bytes) -- DJGPP is indeed a 32-bit compiler : long long = 32 bits (4 bytes), the same as DJGPP int : char char = 8 bits (1 byte) : short short = 16 bits (2 bytes) : long long long long = 64 bits (8 bytes) -- the long long integer is a GCC feature Please see the DJGPP FAQ and the GCC documentation for more information on these points. Most respectfully, Margo Schulter mschulter AT value DOT net (To reply, please remove the extra . from my default address)