这里有些数据结构的基本操作,因为是刚学的,看不懂,Initlist(&L)DestroyList(&L)ClearList(&L) ListEmpty(L)ListLength(L)GetElem(L,i,&e)LocateElem(L,e,compare())PriorElem(L,cur_e,&pre_e) NextElem(L,cur_e,&pre_e)ListInsert(&L,i,e) ListDe

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/05 12:08:18
这里有些数据结构的基本操作,因为是刚学的,看不懂,Initlist(&L)DestroyList(&L)ClearList(&L) ListEmpty(L)ListLength(L)GetElem(L,i,&e)LocateElem(L,e,compare())PriorElem(L,cur_e,&pre_e) NextElem(L,cur_e,&pre_e)ListInsert(&L,i,e) ListDe
xnQ_WMN n1M67+( kcPWC~(tQmR1l9g=y?3639w}͂ <a}('*ZU1@Ó:~a~oҗ6nut^R.-;е,X6-^ ;يi&u-u(=>;(&u' rΰaɕA!i{4_K=IAz3% h4)~DSf}i@(OJZE 1YTm"͘UXBlX艕8jlxm'H5kX oiX։EVXi+m>s̰2lU^g|g$

这里有些数据结构的基本操作,因为是刚学的,看不懂,Initlist(&L)DestroyList(&L)ClearList(&L) ListEmpty(L)ListLength(L)GetElem(L,i,&e)LocateElem(L,e,compare())PriorElem(L,cur_e,&pre_e) NextElem(L,cur_e,&pre_e)ListInsert(&L,i,e) ListDe
这里有些数据结构的基本操作,因为是刚学的,看不懂,
Initlist(&L)
DestroyList(&L)
ClearList(&L)
ListEmpty(L)
ListLength(L)
GetElem(L,i,&e)
LocateElem(L,e,compare())
PriorElem(L,cur_e,&pre_e)
NextElem(L,cur_e,&pre_e)
ListInsert(&L,i,e)
ListDelete(&L,i,&e)
ListTraverse(L,vist())

这里有些数据结构的基本操作,因为是刚学的,看不懂,Initlist(&L)DestroyList(&L)ClearList(&L) ListEmpty(L)ListLength(L)GetElem(L,i,&e)LocateElem(L,e,compare())PriorElem(L,cur_e,&pre_e) NextElem(L,cur_e,&pre_e)ListInsert(&L,i,e) ListDe
这就是一个代称起了个英文名,第一个意思是初始化线性表,依次是删除线性表,清空线性表,线性表至空,计算线性表长度,.至于括号里的自己可以根据需要改,用来传入数据的.