请教结构体的问题
typedef struct//define the phoonbook's number's structure
{
BYTE bPhbNumberLength;
BYTE bPhbNumber[12];
}NUMBER_DATA;
typedef struct//define the result's structure
{
BYTE bPhbName[16];
BYTE bCharSet;
NUMBER_DATA stNumber[3];
}VCARD_TO_PHB_RESULT;
VCARD_TO_PHB_RESULT *stPb;
stPb = (struct VCARD_TO_PHB_RESULT*)malloc(sizeof(struct VCARD_TO_PHB_RESULT));
为什么会出现“VCARD_TO_PHB_RESULT 不能识别“的错误呢?我换成了一般的result也一样是这个问题。