隊列的簡單實現(C語言)

題目: 一、創建循環隊列,並實現元素(4,5,7,6,8)入隊,實現循環隊列的創建,和入隊的基本操做; 二、實現元素(4,5,7,6,8)依次出隊並輸出。ios #include<iostream> using namespace std; #define MaxSize 100 typedef struct{ int *base; int front; int rear; }Seq;
相關文章
相關標籤/搜索