//test4.cpp #include"LinkQueue.h" #include using namespace std; int main() { linkQueue q; initQueue(q); if (isEmpty(q)) { //判断队空 cout << "此队列为空" << endl; } enQueue(q, 1); //入队 cout << deQueue(q) << endl; //出队 return 0; }