摘要:
1: #include <stdio.h> 2: #include <stdlib.h> 3: 4: typedef struct node { 5: int data; 6: int freq; 7: struct node *prior; 8: struct node *next; 9: } dbLNode, *dbLinkList; 10: 11: /*创建一个双向... 阅读全文
摘要:
1: #include <stdio.h> 2: #include <stdlib.h> 3: #define STACK_INIT_SIZE 20 4: #define STACKINCREMENT 10 5: 6: typedef char ElemType; /*将char类型定义为ElemType*/ 7: typedef struct { /*定义一个栈类型*/ ... 阅读全文