L是什么,结构体吗,L.elem又是啥 还有L.length,typedef struct{int *elem;int length;int listsize;}SqList;int InitList_Sq(SqList &L){L.elem=(ElemType*)malloc(LIST_INIT_SIZE*sizeof(ElemType));if(!L.elem) return ERROR;L.length=0;L.listsize=LIST_I
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 11:16:39
L是什么,结构体吗,L.elem又是啥 还有L.length,typedef struct{int *elem;int length;int listsize;}SqList;int InitList_Sq(SqList &L){L.elem=(ElemType*)malloc(LIST_INIT_SIZE*sizeof(ElemType));if(!L.elem) return ERROR;L.length=0;L.listsize=LIST_I
L是什么,结构体吗,L.elem又是啥 还有L.length,typedef struct
{
int *elem;
int length;
int listsize;
}SqList;
int InitList_Sq(SqList &L)
{
L.elem=(ElemType*)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if(!L.elem)
return ERROR;
L.length=0;
L.listsize=LIST_INIT_SIZE;
return OK;
}我不懂L是啥
L是什么,结构体吗,L.elem又是啥 还有L.length,typedef struct{int *elem;int length;int listsize;}SqList;int InitList_Sq(SqList &L){L.elem=(ElemType*)malloc(LIST_INIT_SIZE*sizeof(ElemType));if(!L.elem) return ERROR;L.length=0;L.listsize=LIST_I
在这里是一个结构体变量.