TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bill Birrell
from: Jasen Betts
date: 2003-08-03 22:31:48
subject: Bob`s questi

Hi Bill.

02-Aug-03 23:35:00, Bill Birrell wrote to Bob Stout

 BB> Would somebody please post some C code that we can get our teeth
 BB> stuck into. :-

I have a question: -  something that came up in the C++ echo recently

Given

typedef struct moo
  {
 int foo;
 char bar;
  } moo;


is   sizeof(moo) * 100   always the same as   sizeof( moo[100] )

in other words does sizeof() include any slack space required for
alignment.

 BB> Best wishes, Bill.

 BB> ---




 -=> Bye <=-

---
* Origin: Don't pay your exorcist & get repossessed! (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.