順序棧與鏈棧

首先是順序棧node #include<stdio.h> #include<malloc.h> #define MAXSIZE 100 typedef struct{ int data[MAXSIZE];//數值 int top;//頂 }shunxu; shunxu *chuangjian()//建立順序表 { shunxu*s; s=(shunxu*)ma
相關文章
相關標籤/搜索