From: Charles Krug Newsgroups: comp.os.msdos.djgpp Subject: Re: File reading Date: Mon, 02 Feb 1998 09:19:10 -0500 Lines: 17 Message-ID: <34D5D5DE.70794F7F@pentek.com> References: <34CC6531 DOT A6869055 AT mail DOT htk DOT fi> NNTP-Posting-Host: mail.pentek.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Shawn Hargreaves wrote: > What gave you this idea? Using djgpp, as with most 32 bit compilers, a > char is 8 bits, a short is 16 bits, and an int or long is 32 bits. > Although it is perfectly legal according to the ANSI standard, compilers > with anything other than an 8 bit character type are very unusual... > The compiler's for TI's DSP's in the TMS320Cxx series assume that a char is 32-bits, which is the smallest addressable memory unit. It IS unusual, though. -- Charles Krug, Jr.