标签:数据结构

yan阅读(2607)评论(0)赞(0)
队头 front 队尾 rear或tail 类型 Queue_entry const int max=10; /*******************************/ class Queue{ public: Queue(); b...

yan阅读(4021)评论(0)赞(0)
#include <stack> enum 枚举类型名 {枚举常量表列}; //枚举类型的一般形式 enum Error_code {success,overflow,underflow}; const int max=10; ...