搜索资源列表
datastr
- 数据结构 array.h: 安全数组,可自动增长大小(随机访问,但扩充时效率低) linkedlist.h: 普通链表(可随机访问,但访问效率低) dclinkedlist: 双向循环链表(不可随机访问,但插入、遍历的效率都比普通链表高) hashtable.h: 哈希表(使用键值标识元素,键值一样的元素即认为相等,需重载 == 运算符并由用户定义哈希函数) binstree.h: 二叉搜索树(需重载 == 和 < 运算符) avltree.h: AVL 树(
S73_ab
- C++中可以使用的高精度数类,重载了常见运算符。-C can be used in several types of high-precision, the Common Heavy Operators.
array111111111
- 用C++实现运算符重载的例子,包含所有文件信息。-C achieve Operator example, the document contains all the information.
shzz
- 建立二维数组类,重载输入/输出运算符 重载+、-、*、/运算符-build two-dimensional array type, heavy input / output Operator Overloading ,-,*,/ Operators
hao-myString
- 自己编写的String 类,重载的多个运算符。功能类似C++ STL中的string 类-prepared by the String own category, the number of heavy Operators. C functions similar to the STL string class
overload
- 简单的运算符重载,c++环境下实现的,对于初学者比较有帮助-simple operator overloading, c environment to achieve, and for more help beginners
Huge
- 编写一个巨型整数类HugeInt,可以用默认值0或长整型数或字符串进行对象的初始化(构造) 然后用成员、友元或普通函数等重载相应的运算符实现下述功能(必须优化算法、同时进行异常处理):“巨型整数”OP“巨型整数/长整型数/字符串” [其中OP为:加+、减-、乘*、整除/、求余%、复合运算(+=、-=、*=、/=、%=)和关系运算(>、>=、<、<=、!=和==)] “长整型数/字符串”OP “巨型整数”(其中OP为:+、-、*、/、%和关系运算),求负(-巨型整数),巨型
MyStr_Operator
- 用c++实现string的功能,可以用于学习运算符重载,以及深拷贝等知识。-c achieve with the string functions can be used to study operator overloading, and deep knowledge copy.
littlestring
- srring的基本实现,包括运算符重载,希望队大家有帮助-srring The basic realization, including operator overloading, we hope the teams help
运算符重载
- vc运算符重载,能对不同对象进行+,-,*,/等的运算-vc Operator, can be on different subjects such as arithmetic ,-,*,/
2
- 矩阵加法,用运算符重载实现,用VC++编写
3
- 矩阵乘法,用运算符重载实现,用VC++编写
congzai
- 运算符重载的实验源代码,有需要的朋友可以下下看
3.5.4提取和插入运算符重载
- 提取和插入运算符重载。一个有关VC++输入、输出流的程序,比较适合VC++初学者。以后我上传一系列这种类型的源程序供大家学习之用。-extraction and insertion Operator. One of the VC input and output streams procedure more suitable for beginners VC. After I uploaded a series of this type of source for all learning.
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.
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.
运算符重载与拷贝构造函数
- ①建立类RationalNumber(分数类),使其具有如下的功能: 建立构造函数,它可以避免分母为0、当分数不是最简单形式时进行约分,并可以避免分母为负数; 重载加、减、乘、除运算符(+、-、*、/); 重载关系运算符(==、<、<=、>、>=、!=)。 ②创建一个包含double*的类,其构造函数通过调用new double来对double*进行初始化,并将构造函数的参数中的值赋给存储单元。析构函数打印出double*所指向的值,并把该值设为-1,对存储
chongzai
- 模仿标准库的字符串string,实现一个自己的String 类,要求重载运算符+,=,==,[] 等。-Mimic the standard library string string, to achieve its own String class, requiring overloaded operators+, =, ==, [] And so on.
ex
- 模仿标准库的字符串string,实现一个自己的String 类,要求重载运算符+,=,==,[] 等。-Mimic the standard library string string, to achieve its own String class, requiring overloaded operators+, =, ==, [] And so on.
重载加法
- 重载运算符+,希望能帮助大家!谢谢大家.(About operator+. Hope can help you, and thanks for downloading.)