.
void outlin(LinkQueue qq) { } void insert(LinkQueue *qe, int x) { } ElemType delete(LinkQueue *qe) { s=(NodeType*)malloc(sizeof(NodeType)); s->data=x; s->next=NULL; qe->rear->next=s; qe->rear=s; p=qq.font->next; while(p!=NULL) { } printf(\printf(\p=p->next; .
.
} ElemType x; if(qe->font==qe->rear) { } else { } return(x); p=qe->font->next; qe->font->next=p->next; if(p->next==NULL) qe->rear=qe->font; printf(\队列为空。 \\n\x=0; x=p->data; free(p); void creat(LinkQueue *qe) { int i, n, x; h=(NodeType *)malloc(sizeof(NodeType)); .
.
} h->next=NULL; qe->font=h; //头指针指向NULL qe->rear=h; //尾指针指向NULL printf(\scanf(\for(i=0;i . #入队一个元素: . . #出队一个元素: #结束程序: .