正在加载图片...
(2)入队 void En Queue(quEUE *Q, Queue Entry item) S=NODE*)malloc(sizeof(NODE)) if (s) exit(ERROR); item=item s->next=NULL Q->rear->next=s; Q->rear=s: 请单鼠标左键换页!(2)入队 void EnQueue(QUEUE *Q,QueueEntry item) { s=(NODE*)malloc(sizeof(NODE)); if (!s) exit(ERROR); s->item=item; s->next=NULL; Q->rear->next=s; Q->rear=s; }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有