摘要: 1 #include 2 #include 3 4 typedef struct SqStack { 5 int *base; 6 int *top; 7 int stacksize; 8 }SqStack; 9 10 //创建顺序栈 11 SqStack InitStack() { 12 SqStack S; 13 S.b... 阅读全文
posted @ 2018-08-06 16:03 LiZR07 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 typedef struct LinkList { 5 int data; 6 LinkList *next; 7 8 }LinkList , *linklist; 9 //创建头结点 10 int CreateList(linklist &L) { 11 L = (link... 阅读全文
posted @ 2018-08-06 08:51 LiZR07 阅读(265) 评论(0) 推荐(0) 编辑