L liujiandong Unregistered / Unconfirmed GUEST, unregistred user! 2005-04-28 #3 我定义了一个结构如下: a=record b:longword; c:word; d:longword; e:word; end; 我用sizeof(a) 等到的长度是16 ,为什么,很怪异?????
张 张辉明 Unregistered / Unconfirmed GUEST, unregistred user! 2005-04-28 #5 请参见: http://www.delphibbs.com/delphibbs/dispq.asp?lid=1492429
C Corinth Unregistered / Unconfirmed GUEST, unregistred user! 2005-04-29 #7 是字节对齐产生的,如果你不想的话,就在写成 a= packed record b:longword; c:word; d:longword; e:word; end;