搜索资源列表
no2
- 本程序是为了实现单向链表的就地逆置。主要功能:按照提示输入5个字母a-z,输出结果是这5个字母按照字母表的顺序的排序。-this program is to achieve a one-way linked list of locally inverse home. The main functions : following the prompts to import five letters a-z, this output is five letters of the alphabet,
zhigongguanli
- 建立一个结点包括职工的编号、年龄和性别的单向链表,分别定义函数完成以下功能: (4)删除指定编号的职工结点; (5)删除年龄在60岁以上的男性职工或55岁以上的女性职工结点,保存在另一个链表中。 主函数建立简单菜单选择,测试你的程序。-establish a node, including the number of employees, age and gender of the one-way linked list, defined function to complete t
CSort
- 对结构体数据或单向链表快速排序,只为了练习,不是很合理.希望对初学者有点帮助.-data on the structure of a one-way link list or rapid sequencing, just for practice, not very reasonable. Want a little help for beginners.
TestChain
- 自己编写了单向链表类,并能够对链表遍历,插入等-their preparation of the one-way linked-list category, and to traverse the linked list, such as insertion
12
- vc++环境下单向链表的建立,读取,和删除
pailie
- 建立一个10结点的单向链表,每个结点包括:学号、姓名、性别、年龄。对其进行排序,采用插入排序法,按学号从小到大排列。
list
- 生成一个单向链表(*pListHead) 用C中的结构体或C++中的类实现 完成基本要求 基本算法要求: 实现对链表的逆序 void reverse(CList& ); 查找链表倒数第k个元素 FindFBack(CList&, int k); 高要求: 对链表排序 order(CList&); 判断单向链表是否有环
memorylink
- 模拟动态存储管理 一、 题目 编制一个模拟动态存储管理的程序,设用一个单向链表HA表示空闲空间链;用一个单向链表HB表示已占用空间链。设链表结构如下: 起始地址 ( 正整数,大于0 ) 本块单元数( 正整数,大于0 ) 链域 (指向下一个结点的指针) 1. 在键盘上输入起始地址,本块单元数,建立起HA,HB两链表初态(输 入起始地址为0时结束); 2. 输出HA,HB两链(起始地址,单元数); 3. 输入起始地址,在HB链中撤消所对应的结点,撤消结点后输出HB链; 4. 将撤消的结点
BankSimulation
- 一个银行业务的事件驱动模拟系统,银行有两种业务:第一,取款或借款;第二,存款或还款。银行有两个窗口,用两个队列实现。事件表用带头结点的单向链表实现。-A banking system of event-driven simulation, the bank has two operations: first, the withdrawal or loan second, deposit or payment. Bank has two windows, with two queue imple
dxxhlb
- 已知有一个单向循环链表,其每一个结点中含三个域:pre,data和next,其中data为数据域,next为指向后继结点的指针域,pre也为指针域,但它的值为空(NULL),试编写算法将此单向循环链表改为双向循环链表,即使pre成为指向前驱结点的指针域。-Known to have a one-way circulation list, which each node contains three domains: pre, data and next, in which data for th
Joseph_ring20120813
- 约瑟夫环问题的c++解决方法,包括双向链表和单向链表两种解决方法。-Josephus problem c++ solutions, including the doubly linked list, singly linked list are two workarounds.
Link
- C++实现的一个链表模板类. 单向链表-C++ Achieve a linked list template class. A one-way linked list
lianbiao
- 本程序是在c++平台上开发的一个关于单向链表的程序,经过测试,已经运行通过-This procedure is c++ Platform to develop a list of procedures on the one-way, after testing, has been running through the
chaji
- 递增有序的单向链表A和B分别存储了一个集合,求这两个集合的差集 -Incremental and orderly one-way linked lists A and B separately store a collection, and the two sets of difference sets
Untitled12
- 这是关于单向链表的操作,包括创建有序链表,插入节点,求学生的平均成绩,最后删除整个链表-This is about a one-way linked list operation, including the establishment of an orderly list, insert the node, the average score for students, and finally delete the entire list
Listtwotemplateclasses
- 双向链表 单向链表 可以运行,有源代码和详细注释-Two-way linked list can run a one-way linked list, source code and detailed notes
LNode
- 1、 随机产生或键盘输入一组元素,建立一个带头结点的单向链表(无序)。 2、 遍历单向链表。 3、 把单向链表中元素逆置(不允许申请新的结点空间)。 4、 在单向链表中删除所有的偶数元素结点。 5、 编写在非递减有序链表中插入一个元素使链表元素仍有序的函数,并利用该函数建立一个非递减有序单向链表。 6、 利用算法5建立两个非递减有序单向链表,然后合并成一个非递增链表。 7、 利用算法5建立两个非递减有序单向链表,然后合并成一个非递减链表。 8、 利用算法1建立的链表,
T_List
- 单向链表模板程序,可以在VC++下直接编译执行-TList
Link
- 单向链表的实现,以及链表的查询、增加。和删除功能。(Single-way list of the realization, as well as the list of inquiries, increase. And delete functions.)
第12章03日期类应用_日期链表_DateLink
- 一个单向类模板的综合应用,实现日期类的功能(The integrated application of one-way class templates can realize the perpetual calendar class)