Error reason: undefined identifiers "ElemType", but in front of me defines!
Typedef int ELemType;
Compare//typedef int (*) (ElemType ElemType);
Typedef struct SqList
{
ElemType data [LISTSIZE];//storage space of the data element
int length;//store the current number of existing data
} SqList, * SqListPtr;
Void InitList_Sq (SqListPtr sqlist);//initialization function
Int InsertList_Sq_Pos (SqListPtr sqlist, ElemType val, int pos);
CodePudding user response:
In which position error????CodePudding user response:
CodePudding user response:
The following error is all thisCodePudding user response:
The second letter in the ELemType, caseBehind the typedef there is capital, L use lowercase L, so there is no definition
CodePudding user response:
Fun