摘要:
//h1.h#includetypedef char QElemType; typedef void Status;using namespace std;typedef struct QNode{QElemType data;struct QNode *next;}*QueuePtr;typedef struct{QueuePtr front;//队头指针QueuePtr rear;//队尾指针}LinkQueue;//function.h#include"h1.h" using namespace std;LinkQueue InitQueue() //构建一个空队列Q 阅读全文