摘要:
单链表操作,包括创建,插入,删除,排序,逆置 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 typedef struct student 8 { 9 int data; 10 struct student *next; 11 }node; 12 13 node *creat() 14 { 15 node *head,*p,*s; 16 int x,cycle=1; 17 head=(node*)malloc(sizeof(node)); 18 p=head; 1... 阅读全文