数据结构 (C语言版)课件:第3章_栈和队列.ppt
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
下载地址
用户评论