鏈隊列的初始化、出隊、入隊、取隊頭元素、判空

#include<iostream> #include<malloc.h> using namespace std; typedef struct qnode { int data; struct qnode *next; }LQNode; typedef struct { LQNode *front; //隊頭 LQNode *rear; //隊尾 }LQueue; void
相關文章
相關標籤/搜索