摘要: 1,创建一个空栈,并向栈中压入1个元素 1 #include<stdio.h> 2 #include<stdlib.h> 3 4 #define CAPACITY 100 //栈的容量 5 #define SIZE 10 //如果栈需要扩充,每次扩充10 6 7 //定义栈 8 typedef st 阅读全文
posted @ 2020-03-22 22:18 shanlu 阅读(145) 评论(0) 推荐(0) 编辑