- 博客(8)
- 资源 (3)
- 收藏
- 关注
原创 remove
templateError_code List::remove(int position, List_entry &x){ if(position=count) return range_error;x=entury[position];for(int i=position;ientry[i]=entry[i+1];count--;if(count==0)
2013-09-24 19:47:14
339
原创 Exercise 4.2 E2(a) 4.3 E2
Exercises 4.2 E2 Consider a linked stack that includes a method size .That method size requires a loop that moves through the entire stack to count the entires,since the number of entries in the sta
2013-09-11 19:52:06
422
原创 Exercise 4.1 E1
Exercise 1画图说明由下列语句创建的链式结点的构造。Node *p0 = new Node('0');Node *p1 = p0->next = new Node('1');Node *p2 = p1->next = new Node('2',p1);
2013-09-11 19:32:42
385
原创 Exercise 4.1 E2
(a)Node *p0=new Node('0');Node *p1=p0 -> next=new Node('1'); (b)Node *p0=new Node('0') Node *p1=Node *p2=new Node('1',p0); (c)Node *p0=new Node('0');Node *p1=p0 ->ne
2013-09-05 13:28:48
432
原创 Exercise 3.3 E7
E7 Rewrite the methods for queue processing from the text ,using a flag to indicate a full queue instead of keeping a count of the entries in the queue 注:重新编写课本中队列处理的方法,使用一个标志而不是保持队列中元素个数
2013-09-04 21:09:02
373
原创 Exercise E2(b)
题目:Use the Stack mehod and a temporary Stack to retrieve entries from the Stack source and add each entry to theStack dest and restore the Stack source. 理解:用stack的方法,通过使用临时的stack
2013-08-29 17:37:43
342
原创 Exercise2.1 E4
(a). 当n=3时321 , 312 , 213 , 231 , 123 ;(b). 当n=4时1234, 1243, 1324, 1423, 1432, 2134, 2143, 3124, 3214, 4123, 4132, 4213, 4312, 4321(c )组合,2n个数取n个的结果为c c/(n+1)
2013-08-27 21:16:05
375
转载 数据结构与程序设计第一章总结
第一章概论 1.1基本概念和术语 数据是信息的载体,能被计算机识别、存储和加工处理。 数据元素是数据的基本单位,可由若干个数据项组成,数据项是具有独立含义的最小标识单位。 数据结构包括:1)数据的逻辑结构,从逻辑关系上描述数据,与数据存储无关,独立于计算机; 2)数据的存储结构,是逻辑结构用计算机语言的实现,依赖于计算机语言。 3)数据的运算,定义在逻辑结构上,
2013-08-20 22:22:28
407
apache-activemq-5.9.0.zip
2020-01-02
apache-activemq-5.15.11-bin.zip
2020-01-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人