结构体
typedef
struct {
unsigned char
status01;
unsigned char
status02;
unsigned char
status03;
unsigned char
status04;
} tag_STRUCT_FLAG;
tag_STRUCT_FLAG
tag_struct_flag ;
#define
tag_struct_flag_default
{0x00,0X00,0X00};
tag_STRUCT_FLAG
=
tag_struct_flag_default ;
就是tag_struct_flag_default只有三个数,而tag_struct_flag这个结构体有四个char变量,能这样赋值吗?
|