Thanks to all the response...............
Still i didn't realize wht is probihiting me from ordering online, but
someone have already presented to order 1 for me.
as for the memory alignment , i tried to run the following :
#pragma pack(1)
typedef union Zxx{
struct {
unsigned char T1 ;
short T2 ;
} Tc ;
struct {
short T1 ;
unsigned char T2 ;
} Ts ;
} Zx ;
typedef struct Bxx{
unsigned char D;
unsigned char E;
unsigned char G;
Zx Z;
}Bx;
typedef struct
Ax{{---------------------------------------------------------
Bx B;
}A;
int main(){
A z;
printf("%p\n", &z.B.D);
printf("%p\n", &z.B.E);
printf("%p\n", &z.B.G);
printf("%p\n", &z.B.Z.Ts.T1);
printf("%p\n", &z.B.Z.Ts.T2);
printf("%p\n", &z.B.Z.Tc.T1);
printf("%p\n", &z.B.Z.Tc.T2);
return 1;
}
resulted as follows:
8047648
8047649
804764a
804764c
804764e
804764c
804764e
still, 804764b is not used.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:34 CDT