放進(jìn)去的的值打印不出來(lái)
void?MyQueue::QueueTraverse()//遍歷隊(duì)列 { ????????for?(int?i?=?Q_TQueue;?i?<?Q_TQueue?+?Q_GQueue;?i++) ????????{ ???????? cout?<<?Q_SQueue[i%Q_GQueue]?<<?endl; } }
遍歷有問(wèn)題嗎?
void?MyQueue::QueueTraverse()//遍歷隊(duì)列 { ????????for?(int?i?=?Q_TQueue;?i?<?Q_TQueue?+?Q_GQueue;?i++) ????????{ ???????? cout?<<?Q_SQueue[i%Q_GQueue]?<<?endl; } }
遍歷有問(wèn)題嗎?
舉報(bào)
2019-05-10