int InitQueue (LinkQueue &Q) {Q.rear = new QNode;Q.rear->next = Q.rear; // 尾指针的next指向自己return 1;}
为什么我用 & 会报错,是代码的问题吗
LinkQueue你是怎样定义的