From: "Smith A. Cat" Newsgroups: comp.os.msdos.djgpp Subject: Re: Why does sizeof give me... Date: 6 Aug 1997 20:25:01 -0700 Organization: Blue Square Laboratories Lines: 15 Message-ID: <33E475FE.77A4@primenet.com> References: <33E957BE DOT 7216 AT geocities DOT 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 spiritseeker wrote: > > Hello, hello! > > I'm converting some code from my old 16 bit c programs to > 32 bit .. suddenly sizeof gives me values that are many bytes > larger than my old structures! well, yes. the default size of an int in DJGPP is 32 bits. in a 16 bit compiler it will certainly be 16 bits. see the header file limits.h for other surprises and wonders beyond your wildest fantasies... oops, that's the text of the spam i'm posting to alt.binaries.braille. phil