大话数据结构-第三章之线性表&链表

1、定义线性表L数组 typedef struct { ElemType data[MAXSIZE]; int length; }SqList; 2、初始线性表数据结构 //初始化线性表 Status InitList(SqList *L) { L->length = 0; return OK; } 3、输出单个数据 Status visit(ElemType e) { pri
相关文章
相关标签/搜索