搜索资源列表
datastr
- 数据结构 array.h: 安全数组,可自动增长大小(随机访问,但扩充时效率低) linkedlist.h: 普通链表(可随机访问,但访问效率低) dclinkedlist: 双向循环链表(不可随机访问,但插入、遍历的效率都比普通链表高) hashtable.h: 哈希表(使用键值标识元素,键值一样的元素即认为相等,需重载 == 运算符并由用户定义哈希函数) binstree.h: 二叉搜索树(需重载 == 和 < 运算符) avltree.h: AVL 树(
运算符重载
- vc运算符重载,能对不同对象进行+,-,*,/等的运算-vc Operator, can be on different subjects such as arithmetic ,-,*,/
IntType
- 高精度加法和减法 我自己写的 主要是实现了IntType类,重载了<< >> + - += -= 以及逻辑运算符-High-precision addition and subtraction I wrote it myself mainly achieved IntType class, overloading the
OperatorOverloading
- 通过重载运算符new和delete可以克服new和delete的不足,使其按照要求完成对内存的管理。-Through overloaded new and delete operator can overcome the shortage of new and delete to be completed in accordance with the requirements of memory management.
c
- 实现运算符的重载,有很多常用的运算符,很重要-五
string
- 本源码为在vc++环境下编写的string类,该类既可 自动调节大小,又可限制数组越界,还重载了一些运算符-The source code in vc++ environment, prepared by the string class that can automatically adjust the size, but also an array of cross-border restrictions, but also a number of operator overloading
8-2
- 使用时钟类的例子将单目运算符“++”重载为成员函数形式-To overloaded unary " ++" as a member of the functional form of
03
- 第三次试验作业,西工大的运算符重载,有需要的同学自行下载-NPU operator overloading, students need to download the third test job
fist
- 定义一个人民币类 RMB,包含私有数据成员元、角、分,请用友元函数重载运算符“+”和“++”,以对类对象进行运算。-RMB define a class RMB contains private data members of the yuan, angle, sub, the friend function overloading operator " +" ++ to the class object computing.
CPPanswer
- 完成大数求幂的程序。要求按照运算符重载版本完成,类的声明可以不同,但主程序不能更改,输入输出严格按照要求来。输出要求:整数输出不能带小数点;不能输出2.3000,应是2.3;不能输出000123.3,应是123.3,总之符合正常书写格式。 -Through the process of large numbers exponentiation. Requirements in accordance with the operator overloading version class dec
polynomial
- H11增强Polynomial类 (1) 以动态数组实现多项式类。多项式系数的最大上限为int数据类型能表示的最大整数,但在构建对象时不指定系数上限 (2) 对两个Polynomial类对象的运算,分别重载“+”“-”运算,并能够级联调用 (3) 重载“<<”操作符,并能级联调用。 (4) 重载赋值运算符“=”,思考为何必须重载该运算符,如果不重载会发生什么问题? -H11 Enhanced the Polynomial class (1) dynamic arr
pointchongzai
- C++中对运算符的重载,主要以前置后置++--为例,对初学者有帮助-C++ the overloading of operators, mainly in the pre-post++- for example, help for beginners
重载加法
- 重载运算符+,希望能帮助大家!谢谢大家.(About operator+. Hope can help you, and thanks for downloading.)