摘要:
#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... 阅读全文
摘要:
#include#includetypedef struct NODE{struct NODE *next;int length;int date;}node;typedef struct NODE *list;int initlist(list *head){*head=(list)malloc(... 阅读全文
摘要:
#include#includetypedef struct NODE{struct NODE *prior;struct NODE *next;int date;}node;typedef struct LIST{node *head;node *last;int length;}list;int... 阅读全文