關於順序棧的初始化,進棧,出棧,棧滿,棧空的操做

本程序在VC環境下運行。順序棧比較簡單。本程序只是插入一個數據以後直接刪除該數據。不夠完善請原諒。 seqstack.h文件。 #include<stdio.h> #include<stdlib.h> #define MAXSIZE 50 #define False 0; #define True 1; typedef struct{ int data[MAXSIZE]; int top; }se
相關文章
相關標籤/搜索