文件名称:CPPexam9
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-11-22
- 文件大小:
- 635kb
- 下载次数:
- 0次
- 提 供 者:
- w***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1. 编写程序 Node.h 实现例 9-5 的节点类,并编写测试程序 lab9_1.cpp 实现链表的基本操作。
2. 编写程序 link.h 实现例 9-6 的链表类。在测试程序 lab9_2.cpp 中声明两个整型链表 A和 B,分别插入 5 个元素,然后把 B 中的元素加入 A 的尾部。
3. 编写程序 queue.h,用链表实现队列(或栈)类。在测试程序 lab9_3.cpp 中声明一个 整型队列(或栈)对象,插入 5 个整数,压入队列(或栈),再依次取出并显示出来。
-1 Write a program to achieve cases 9-5 Node.h node classes and preparation of test procedures lab9_1.cpp realize list of basic operations. (2) Write a program link.h achieve cases 9-6 objectlist. In the test program lists lab9_2.cpp declare two integers A and B, five elements were inserted, and then B is added to A end of the elements. 3 programming queue.h, using chain queue (or stack) classes. In the test program lab9_3.cpp declare an integer queue (or stack) object, insert five integers, pressed into the queue (or stack), then turn out and displayed.
2. 编写程序 link.h 实现例 9-6 的链表类。在测试程序 lab9_2.cpp 中声明两个整型链表 A和 B,分别插入 5 个元素,然后把 B 中的元素加入 A 的尾部。
3. 编写程序 queue.h,用链表实现队列(或栈)类。在测试程序 lab9_3.cpp 中声明一个 整型队列(或栈)对象,插入 5 个整数,压入队列(或栈),再依次取出并显示出来。
-1 Write a program to achieve cases 9-5 Node.h node classes and preparation of test procedures lab9_1.cpp realize list of basic operations. (2) Write a program link.h achieve cases 9-6 objectlist. In the test program lists lab9_2.cpp declare two integers A and B, five elements were inserted, and then B is added to A end of the elements. 3 programming queue.h, using chain queue (or stack) classes. In the test program lab9_3.cpp declare an integer queue (or stack) object, insert five integers, pressed into the queue (or stack), then turn out and displayed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
8_1
...\8_1.cpp
...\8_1.dsp
...\8_1.dsw
...\8_1.ncb
...\8_1.opt
...\8_1.plg
...\Debug
...\.....\8_1.exe
...\.....\8_1.obj
...\.....\8_1.pdb
...\.....\StdAfx.obj
...\.....\vc60.pdb
...\ReadMe.txt
...\StdAfx.cpp
...\StdAfx.h
8_2
...\8_2.cpp
...\8_2.dsp
...\8_2.dsw
...\8_2.ncb
...\8_2.opt
...\8_2.plg
...\Debug
...\.....\8_2.exe
...\.....\8_2.obj
...\.....\8_2.pdb
...\.....\StdAfx.obj
...\.....\vc60.pdb
...\ReadMe.txt
...\StdAfx.cpp
...\StdAfx.h