搜索资源列表
-
0下载:
包括三个例子:1.C++流操纵器举例;2.内存泄漏检测类;3.一个重载所有操作符的例子;-including three examples : 1.C flow controls, for example; 2. Memory Leak Detection; 3. An operator overloading all examples;
-
-
0下载:
1、用成员函数重载运算符,使对整型的运算符=、+、-、*、/ 适用于分数运算。要求:
(1)输出结果是最简分数(可以是带分数);
(2)分母为1,只输出分子。-1, with member functions operator overloading, so that the operator on the integer =,+,-,*,/ apply to scores of computing. Requirements: (1) output is the most simple
-
-
0下载:
一个简单的测试程序,通过对字符串的运算来体现如何使用运算符重载的功能以及对字符串的操作。-A simple test program, through string operations to reflect the use of operator overloading functions and operators on the string.
-
-
0下载:
简单的日期类 自己学习类 操作符重载之后 写的日期加减法 计算任意两天相隔的天数-Write the date to add and subtract simple date class of their own learning class operator overloading calculated the number of days between any two days
-
-
0下载:
设计一个类模板Exam<T>,实现operator==运算符重载,用于比较各种类型数据是否相等(包括字符串和可以用等号直接进行比较的数据类型)。-Design a class template the Exam <T>, achieve operator overloading operator == for the comparison of various types of data are equal (including the string data type
-
-
0下载:
已知一个有理数类Zrf_Ratio,实现如下的操作符重载形式:
friend zrf_Ratio operator-(const zrf_Ratio&)
friend zrf_Ratio operator+(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator-(const zrf_Ratio&, const zrf_Ratio&)
friend zrf_Ratio operator*(c
-
-
0下载:
string 类的完全实现, 包括构造, 复制, 操作符重载等等, 能正确地释放内存-the string fully realized, including the structure, replication, operator overloading, etc.
-
-
0下载:
operator overloading of all binary and unary operators in c-operator overloading of all binary and unary operators in c++
-
-
0下载:
实现String类的运算符重载,有助于理解运算符重载 仅仅供参考-Implementation of the String class operator overloading, operator overloading helps to understand just for reference
-
-
0下载:
声明了一个复数类,针对复数的运算符进行了重载-Declares a complex class for the complex operator is overloaded
-