在C语言中,一个结构体数组,成员的指针函数。怎样对这个指针赋值?
typedefstruct{unsignedcharCTLcode;unsignedcharFCTCode;unsignedcharDataLen;void(*func)...
typedef struct{
unsigned char CTLcode;
unsigned char FCTCode;
unsigned char DataLen;
void (*func)(void*data);
}Profile;
struct Mode{
unsigned char UserMode;
unsigned char ContinueData;
Profile pro;
}UMODE[20]={
{HAND_SHAKE,0,{ReadData,0,0,} },}
void (*func)(void*data);怎样赋值 展开
unsigned char CTLcode;
unsigned char FCTCode;
unsigned char DataLen;
void (*func)(void*data);
}Profile;
struct Mode{
unsigned char UserMode;
unsigned char ContinueData;
Profile pro;
}UMODE[20]={
{HAND_SHAKE,0,{ReadData,0,0,} },}
void (*func)(void*data);怎样赋值 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询