摘要:
一、定义一个结构体 #include <stdio.h> #include <string.h> #include <stdlib.h> typedef int ElemType; // 自定义链栈的数据元素为整数。 typedef struct SNode { ElemType data; // 阅读全文
摘要:
一、定义一个结构体 #include <stdio.h> #include <string.h> #define MAXSIZE 10 // 顺序栈的最大长度。 typedef int ElemType; // 自定义顺序栈的数据元素为整数。 typedef struct { ElemType da 阅读全文