自定义博客皮肤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)
  • 收藏
  • 关注

原创 remove函数的实现

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

2013-09-23 20:27:42 608

原创 Exercise 4.1

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 = p1->next =

2013-09-05 20:13:56 351

原创 Programming Projects 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. "queue.h"#

2013-09-04 13:00:07 350

原创 Exercises 3.3

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-08-28 18:43:03 356

原创 Exercises 2.2

E2.(b) Use the Stack methods and a temporary Stack to retrieve entries from the Stack source and add each entry to the Stack dest and restore the Stack source. Error_code copy_stack(Stack &dest,St

2013-08-28 18:38:09 314

原创 Summary of Programming Principles

Introduction编写大型计算机程序的最大困难不在于确定此程序的目标是什么,也不在于找出到达此目标的方法。由于将杂碎的的方法用于解决大型问题注定会失败,因此我们首先必须采用一种一致的、统一的和逻辑的方法,也必须仔细遵守程序设计的重要原理。这些原理有时候在编写小程序时常被忽略,但对大型项目,忽略它们将是灾难性的。 处理大型问题时,首个主要障碍就是准确地判断这个问题是什么。有必要将模

2013-08-20 22:20:06 515 1

空空如也

空空如也

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

TA关注的人

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