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/04/26 07:28:26
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_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
在这里是一个结构体变量.

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.elem是什么意思? q=L.elem+L.length; q指向顺序表尾 L.elem和L.length分别是什么东西 设顺序表L是一个递增有序表,阅读下列程序写出算法功能void demo1(SQLIST *L,int x){ int i;if (L->length>=listsize) return error;i=L->length-1;while(i>=0&&L->elem[i]>x){ L->elem[i+1]=L->elem[i]; i--; }L->elem[i+1]=x;L->length++;} 链表中LinkList L与LinkList *L的区别以及(*L).elem,L.elem L->next,(*L)->next的区别 q=L.elem+L.length-1和q=&L.elem[L.length-1]为什么一样?L. 数据结构中q=&(L.elem[i-1])是什么意思? 数据结构中,L.(*elem[i])=2;这样表达对吗?其中SqList L; 在下面程序中STATUS ListInsert(List *L,int i,ElemType e) {struct STU *p,*q; if (iL->length+1) return ERROR; q=&(L->elem[i-1]); for(p=&L->elem[L->length-1];p>=q;--p) *(p+1)=*p; *q=e; ++L->length; return OK; }/*ListInsert Before i */这是数据 1mol/l-1与1mol/l分别是什么意思,mol/L-1 是不是读摩尔每升那mol/L又是什么呢``说错了是Mol*L-1 与 Mol/L一样吗 关于线性表删除数据元素的算法Status listdelete_sq(sqlist &L,int I,elemtype &e){If ((iL.length)) return error;p=&(L.elem[i-1]);e=*p;q=L.elem+L.length-1;for(++p;p 数据结构.线性插入问题.For(p=&(L.elem[L.length-1]);p>=q;——p)*(p+1)=*p;我怎么感觉——p.也可以写成p——;改了有影响吗? 请分析这句话的结构il l'a fait expres 主要是前面不懂l'是什么啊? 人字下面有个L、拼音是什么、半包围结构的人 L 这个字拼音是? 地理公式计算楼间距L=h*cotH是什么意思?那么可以转化为L=h/tgH吗?其中cot是什么?是tan吗?tg又是什么 数据结构中有这样语句 L->elem=(ElemType )malloc(LIST_INIT_SIZE*size of(ElemType)); 这是什么意思? 具数据结构中有这样语句L->elem=(ElemType )malloc(LIST_INIT_SIZE*size of(ElemType)); 这是什么意思?具体的含义 for (p=&L.elem[L.length-1]; p>=q; --p)请帮忙解释这个括号里的含义.int Insert_SqList (SqList&L,int i,ElemType x){ if(i< 1 || i>L.length+1) return ERROR; if(L.length>=L.listsize) return OVERFLOW; q=&(L.elem[i-1]); G签是啥?L签又是啥?S签是啥?