From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: The size of structures and binary files Date: Fri, 13 Jun 1997 10:03:56 -0400 Organization: Cornell University http://www.cornell.edu Lines: 19 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33A1534B.2FF9@cornell.edu> References: <33A1B030 DOT 309E AT post DOT psychologie DOT uni-bielefeld DOT de> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0050.cit.cornell.edu 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 News Administrator wrote: > > Recently I came across something weird: > I have two structs: > struct s1 { char c1; char c2; short s}; > struct s2 { char c1; short s; char c2}; it is not weird and it is explained in section 22.9 of the FAQ -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************