摘要: # include # include struct node{ int data; struct node *next;} ;struct node *creat1(int n) //顺序建立链表{ struct node *head, *tail, *p; head = (struct node *)malloc(sizeof(struct node )); head -> next = NULL; tail = head; for(int i = 0; i data); p -> next = NULL; tail... 阅读全文
posted @ 2013-06-17 11:23 GLSilence 阅读(303) 评论(0) 推荐(0)