#ifndef _QUEUE_H #define _QUEUE_H #include #include #include typedef char ElemType; typedef struct queue { ElemType data; struct queue * next; } Queue; typedef Queue * pqueue; void InitQueue (pqueue * q); bool EnQueue (pqueue * qtail, ElemType * e); bool DeQueue (pqueue * qhead, ElemType * e); bool RsQueue (pqueue * qhead); bool EmptyQueue (pqueue * qhead); bool PrintQueue (pqueue * qhead); #endif