#include#include#include//队列最大长度#defineMAX_QUEUE1024//偷懒,就用静态队列了staticintmQueue[MAX_QUEUE];//队列插入voidInsertData(int**Front,int**Rear){if(*Rear+1==*Front&&(*Rear+1-MAX_QUEUE!=*Front)){//当队列数据已满,返回puts("QueueSizeOverflow!\n&