K kmwap Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-29 #1 在C中为: struct deliver{ char src ; char dst ; union{ char msg ; }pk_sm; };
I ICDB Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-29 #2 struct定义的是一个结构,不是类,定义类是 class deliver{}
D dcba Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-29 #4 type deliver=record src,dst:char; case integer of 0: (msg:char); end;
P Pearl. Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-29 #5 type deliver = record src: char; case integer of 0: dst: char 1: msg: char end;
K kmwap Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-29 #8 我自已已经解决: type pk_sm = record msg :char; end; type deliver = record dsc :char; dst :char; pk_sm k_sm end;
我自已已经解决: type pk_sm = record msg :char; end; type deliver = record dsc :char; dst :char; pk_sm k_sm end;