摘要: #include#includetypedef struct STACK{int *date;int length;} stack;int initstack(stack *h){h->date=(int *)malloc(0*sizeof(int ));if(NULL==h) exit(-1);h... 阅读全文
posted @ 2015-10-18 09:21 jarrem 阅读(64) 评论(0) 推荐(0) 编辑
摘要: #include#includetypedef struct NODE{struct NODE *next;int length;int date;}node;typedef struct NODE *list;int initlist(list *head){*head=(list)malloc(... 阅读全文
posted @ 2015-10-18 09:19 jarrem 阅读(187) 评论(0) 推荐(1) 编辑
摘要: #include#includetypedef struct NODE{struct NODE *prior;struct NODE *next;int date;}node;typedef struct LIST{node *head;node *last;int length;}list;int... 阅读全文
posted @ 2015-10-18 09:18 jarrem 阅读(65) 评论(0) 推荐(0) 编辑