[an error occurred while processing this directive]
|
struct DC
{unsigned char Low;
unsigned char High;
};
union Int2Char
{unsigned int Integer;
struct DC DoubleChar;
};
unsigned int I;
unsigned char Lo,Hi;
union Int2Char Z;
Z.Integer=i;
Lo=Z.DoubleChar.Low;
Hi=Z.DoubleChar.High;
E-mail: info@telesys.ru