数据结构代码(用C语言) 单链表的插入和删除
数据结构代码(用C语言) 单链表的插入和删除
日期:2011-07-01 21:10:18 人气:3
struct A{
char a[20];
struct A *next;
}a;
struct A *apo; //首节点
int charu(struct A *s) //插入
{
struct A p = apo->next;
while(p)
{
if(!strcmp(p->a, s->a))
return 0;
p = p->ne