[an error occurred while processing this directive]
|
typedef union {
struct {
unsigned char byte1;
unsigned char byte2;
unsigned char byte3;
unsigned char byte4;
} as_char;
unsigned long asInt;
} long_char_container;int _tmain(int argc, _TCHAR* argv[])
{
long_char_container a , b;
a.as_char.byte1 = 1;
// и прочая инициализация
long diff = a.asInt - b.asInt;
return 0;
}
E-mail: info@telesys.ru