- 博客(3)
- 收藏
- 关注
翻译 P92 E7
# include # include using namespace std;const int maxqueue=10;class Queue{Public:Queue( );bool empty()const;Error_code serve();Error_code append(const Queue_entry &item);Error_c
2013-08-29 20:10:46
469
翻译 E2b
Error_code copy_stack(Stack &dest,Stack &source){Error_code detected=success;Stack temp;Stack_entry item;while(detected==success&&!source.empty( )}{ detected=source.to
2013-08-29 19:54:44
284
翻译 1111
有序集合是一种用来存储数据的容器类型的数据结构,它提供向此容器添加数据,由其中移除数据,更新其中数据的方法同时提供了操作来设置或返回集合中不同属性的值。 集合类可以被分为两种类型:线性和非线性。线性集合是一个元素的列表,其中后一个元素跟着前一个元素。线性集合中元素按位置(第一个,第二个,第三个等等)排序。在现实生活中,杂货店商品列表就是一个线性集合的好例子,在计算机世界中(现实中也一
2013-08-24 21:22:30
397
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人