Homework
文章平均质量分 75
反向逆时针
这个作者很懒,什么都没留下…
展开
-
数据结构与程序设计Chapter 1 编程原则总结
1.1 Introduction(介绍) Chapter 1主要介绍良好程序设计的重要原理,特别是它们在大型项目中的应用,然后介绍用于发现有效算法的方法,例如面向对象的设计和自顶向下的设计 1.2 The game of life(life游戏) 程序设计的语法是一样的即:一个类的方法是公用的。一个类的函数是私有的。原创 2013-08-22 23:11:54 · 608 阅读 · 0 评论 -
P131 E2(a) P137 E2 anwser
int stack::size()const {node*p=top_node; int count=0; while(p!=Null) {p=p->next; count++; } return count; }原创 2013-09-11 20:54:59 · 463 阅读 · 0 评论 -
P95 程序完善 answer
P1 Complete the menu-driven demonstration program for manipulating an Extended _queue of characters,by implementing the function get_command and completing the function do_command. #include usin转载 2013-09-05 20:47:20 · 450 阅读 · 0 评论 -
P92 Exercises E7 answer
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 The class definition for this Queue impleme转载 2013-09-05 20:49:53 · 654 阅读 · 0 评论