#define MAXSTACK 100 /*定義最大堆疊容量*/. int stack[MAXSTACK]; //堆疊的陣列宣告. int top=-1; //堆疊的頂端. int isEmpty();. void push(int);.
確定! 回上一頁