2019年6月10日

顺序队列的基本操作(进行了修改解决了假溢出问题)

摘要: 1 #include 2 #include 3 #define MAXSIZE 5 4 5 typedef int ElemType; 6 //队列结构体 7 typedef struct{ 8 ElemType data[MAXSIZE]; 9 int front,rear;//队头与队尾指针 (实际就是两个变量) 10 }SqQueu... 阅读全文

posted @ 2019-06-10 19:43 18软工五班龙向昆 阅读(647) 评论(0) 推荐(0)

导航