順序棧的基本運算

#include <stdio.h> #include <malloc.h> #define MaxSize 100 typedef char ElemType; typedef struct { ElemType data[MaxSize]; int top; //棧指針 } SqStack; //順序棧類型 void InitStack(SqStack *&s) { s
相關文章
相關標籤/搜索