文件名称:exp7
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:26.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个函数模板IsEqual,比较实验四、五涉及到的五种类的对象是否相等,定义如果两个对象的m_ID相等,那么它们就相等。
设计一个链表的类模板,只用实现插入(bool LinkedList::InsertAt(Node *p, int index))和删除(bool LinkedList::DeleteAt(int index))两种操作即可。如果插入时index大于链表的长度则将新节点接到链表的末尾,如果删除时index大于链表的长度则删除最末尾的节点,index从0开始计数-Design a function template IsEqual, experiment four or five of the five kinds of objects related to equality, defined If the two objects m_ID equal, then they are equal. The design of a linked list class template, insert (bool LinkedList :: InsertAt (Node* p, int index)), and delete (bool LinkedList :: DeleteAt (int index)) two modes of operation can be used to achieve. If you insert the index is greater than the length of the linked list of the new node receiving the end of the list, if you delete the index is greater than the length of the list is deleted at the end node, index starts counting from 0
设计一个链表的类模板,只用实现插入(bool LinkedList::InsertAt(Node *p, int index))和删除(bool LinkedList::DeleteAt(int index))两种操作即可。如果插入时index大于链表的长度则将新节点接到链表的末尾,如果删除时index大于链表的长度则删除最末尾的节点,index从0开始计数-Design a function template IsEqual, experiment four or five of the five kinds of objects related to equality, defined If the two objects m_ID equal, then they are equal. The design of a linked list class template, insert (bool LinkedList :: InsertAt (Node* p, int index)), and delete (bool LinkedList :: DeleteAt (int index)) two modes of operation can be used to achieve. If you insert the index is greater than the length of the linked list of the new node receiving the end of the list, if you delete the index is greater than the length of the list is deleted at the end node, index starts counting from 0
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验7/2010010481_340703_94830403_2010010481_周真旭_hw4.rar
实验7/680302647_6_作业7.rar
实验7
实验7/680302647_6_作业7.rar
实验7
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.