M
mill666
Unregistered / Unconfirmed
GUEST, unregistred user!
C语言里面定义的联合体:
union
{
char x;
struct
{
unsigned s7:1;
unsigned s6:1;
unsigned s5:1;
unsigned s4:1;
unsigned s3:1;
unsigned s2:1;
unsigned s1:1;
unsigned s0:1;
}y;
};
怎样用delphi实现以上代码?
union
{
char x;
struct
{
unsigned s7:1;
unsigned s6:1;
unsigned s5:1;
unsigned s4:1;
unsigned s3:1;
unsigned s2:1;
unsigned s1:1;
unsigned s0:1;
}y;
};
怎样用delphi实现以上代码?