產生佇列結構:宣告一個陣列或鏈結串列結構,並設成空佇列,即Front = Rear = -1或Front = Rear =NULL; 將資料放入佇列:若佇列未滿,則改變Rear指標後將資料存入佇列 ...
確定! 回上一頁