自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Remove1

Error_code  List::remove(int position,List_entry&x){if(count==0) return underflow;if(position=count)return range_error;x=entry[position];for (int i=position;ientry[i]=e

2013-09-26 19:15:45 365

原创 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 451

转载 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 queueThe class definition for this Queue impleme

2013-09-05 20:49:53 641

转载 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. #includeusin

2013-09-05 20:47:20 440

原创 P126Exercises4.1 E1E2answer

E1 .Draw a diagram   to illustrate  the configuration of   linked   nodes  that  is   created  by the  following   statements.Node *p0=new Node('0')  ;Node *p1=p0->next=new Node('1')  ;Node *p2=

2013-09-05 20:07:45 567

原创 P64E2anwer

因为C++基础知识薄弱面对题目感到无措,又觉得转载毫无意义所以没有及时交付答案,所以现把课堂笔记的答案整理发布,请老师见谅Error_code copy_stack(stack&dest,stack&source){Error_code  result=success;stack temp;stack_entry item;while(!source.empty()&resul

2013-09-03 19:06:33 461

原创 数据结构与程序设计Chapter 1 编程原则总结

1.1             Introduction(介绍)Chapter 1主要介绍良好程序设计的重要原理,特别是它们在大型项目中的应用,然后介绍用于发现有效算法的方法,例如面向对象的设计和自顶向下的设计1.2             The game of life(life游戏)程序设计的语法是一样的即:一个类的方法是公用的。一个类的函数是私有的。

2013-08-22 23:11:54 595

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除