静态数组的顺序栈C语言实现

#include <stdio.h> #include <stdlib.h> #include <malloc.h> #define MAX_STACK_SIZE 100 //栈的大小 #define ERROR -1 #define OK 1 typedef struct sqstack {     int stack_array[MAX_STACK_SIZE];     int top;  
相关文章
相关标签/搜索