delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/18/11:39:01

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.
*******************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019