int QueueLength( SqQueue Q) { return (Q.rear-Q.front+MaxSize%MaxSize } int EnQueue ( SqQueue &Q,QElemType e) { if (Q.rear+1% MaxSize==Q.front return ERROR; Q.base [Q.rear]=e; Q.rear=(Q.rear+1% MaxSiz