C语言线性表(基于链式结构)(二)

2014-11-23 21:36:29 · 作者: · 浏览: 69
xt element is %d\n", tmp_elem);


if(PriorElem(l,3,&tmp_elem))
printf("the goal element's prior element is %d\n", tmp_elem);


int location = LocateElem(l,4);
printf("the location id is %d\n", location);


ListInsert(l,3,8);
PrintList(l);


ListDelete(l,4);
PrintList(l);


return 0;
}


C语言梳理一下,分布在以下10个章节中: