c语言里 sqlist

日期:2021-05-31 02:50:27 人气:1

c语言里 sqlist

c语言里 sqlist?//定义顺序表L的结构体
typedef struct
{
Elemtype data[MaxSize];
int length;
}SqList;
//建立顺序表
void CreateList(SqList * &L,ElemType a[ ],int n)
{
int i;
L = (SqList * )malloc(sizeof(SqList
    A+
热门评论