typedef struct tag_MyWell
{
double X ;
CString CXDM;
typedef struct tag_MyWell *Next;
}MyWell,*PMyWell;*PMyWell head;
head=(PMyWell)malloc(sizeof(MyWell));
head->X=100;
head->CXDM="test";
head->Next=NULL; -------(23行)这段程序编译错误为:(23) : error C2273: 'function-style cast' : illegal as right side of '->' operator
{
double X ;
CString CXDM;
typedef struct tag_MyWell *Next;
}MyWell,*PMyWell;*PMyWell head;
head=(PMyWell)malloc(sizeof(MyWell));
head->X=100;
head->CXDM="test";
head->Next=NULL; -------(23行)这段程序编译错误为:(23) : error C2273: 'function-style cast' : illegal as right side of '->' operator
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货