自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 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;i entry[i]=e

2013-09-26 19:25:03 357

转载 3.4

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:16:43 530

转载 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   The class definition for this Queue imp

2013-09-05 20:13:21 520

原创 homework 4.1E1,E2

E1:

2013-09-05 19:22:53 604

原创 E2b

Error_code copy_stack(stack&dest,stack&source) {Error_code  result=success; stack temp; stack_entry item; while(!source.empty()&result==success) {result=source.top(item); result=source.pop(); i

2013-09-03 18:41:39 373

原创 编程原则的总结

1.包括所编写的每个项目,函数,方法的准确的前提条件和结束条件 2.要特别仔细的命名你的类名,变量,函数,比确切的给予解释 3.保证你的文档简介并且具有描述性 4.保证阅读程序的时间远远多于编写程序的时间,使程序读起来更容易 5.不应只见树木不知森林 6.使用类来模拟程序的基本概念 7.每个函数应该只进行一次任务,但是要做的很好 8.每个类或函数应该隐藏一些东西 9.确保你的所有连

2013-08-20 20:25:12 482

空空如也

空空如也

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

TA关注的人

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