typedef struct { unsigned char chiffre_dizaine : 4; unsigned char chiffre_unite : 4; } octet_t;
#define CHIFFRE_DIZAINE(octet) (((octet)>>4)&0x0f) #define CHIFFRE_UNITE(octet) ((octet)&0x0f)
struct figure_s { enum { point,cercle,rectangle } type; int x,y; union { struct { int r ; } cercle; struct { int l,h ; } rectangle; } specifique; };
#pragma pack(1) ... #pragma pack()