搜索资源列表
congzai
- 运算符重载的实验源代码,有需要的朋友可以下下看
operatortest21
- 有关运算符的重载,对于初学者是一个非常不错参考例子-operator
operatorDef
- 有关运算符的重载,对于初学者是一个非常不错参考例子-operator
string
- 字符串的各种做法,包括对比,赋值,重载,和其他算法-Strings of various practices, including contrast, assignment, overloading, and other algorithms
Thepreparationofcomplex
- 编写复数类scomplex,用友元函数重载,实现浮点数和复数的加法。-The preparation of complex class scomplex, UF element function overloading to achieve floating-point numbers and complex numbers addition.
String
- 实现字符串的创建查找,遍历,重载等功能。-To achieve the creation of a string search, traversal, overloaded functions.
complexclass
- 复数类的定义,运算的重载等源代码,初级学者编译,适合初级学者交流。-Complex type definition, operation overloading and other source code, compile the primary scholars, junior scholars for the exchange.
CPPchengxutiaocuo
- 问题:定义一个Cpoint类,用成员函数的重载实现分别求出整型数的两点间距离和实型数的两点间距离 -Problem: define a Cpoint class, with member function to realize the heavy duty respectively and the integer number of the distance between the two points and the real number of the distance between
computer
- 1. 所设计的复数计算器可以进行+、-、*、+=、*=、>=、<=、==、!=运算,其中>=、<=是针对复数的模进行; 2. 设计输入重载函数,要求能接收从键盘输入a+bi形式的复数,在程序中可以识别出实部并正确赋值。 3. 设计计算器测试程序,对加减法进行测试,要求在两位数以内进行,对乘法进行测试,乘法要求为一位数的运算。 4. 设计记录功能,可以记录下不同用户使用计算器的情况,记录以文件形式保存在计算机内,程序运行时要求输入用户名,显示该用户以前的记录。
addseqlist
- 线性表相加重载。在线性表基础功能上添加线性表相加功能,能实现两个线性表的直接相加。-The linear table sum overloaded. Add linear tables linear table on the basis of functional sum function, to achieve the direct sum of two linear tables.
sy1302
- 定义描述平面上一个点的类point重载++和--运算符并区分这两种运算符的前置和后置运算-Definition describes a point in the plane of the class point overloading++ and- operators and to distinguish between the two operators of pre-and post op
area
- 定义一个基类MyGraph,要求有一个纯虚函数double Area()=0。从基类派生一个圆类Circle和矩形类Rectangle,再由Rectangle类派生出Square类,分别给出Area()实现。 重载“>>”,实现对图形信息的输入。在主函数中计算三种形状的面积,并显示输出。 -Define a base class MyGraph, requires a pure virtual function double Area () = 0. Derive a circl
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.
CPP-rectangle-class
- C++矩形类,类与对象的基本概念和运算符重载-C++ rectangle class, the basic concept and the operator overloading of class and object
main
- 矩阵运算符重载 重载 矩阵运算符重载 矩阵运算符重载 -The matrix operator overloading The matrix operator overloading
opreator-override
- C++运算符重载,主要是为了帮助新人更好地理解C++的运算符重载功能。-c++operator override
fraction
- 1.实现分数运算符重载; 2.实现分数的输入; 3.用两种化简方法实现分数的化简,比较两种分数化简方法的效率; 4.实现分数的输出。-1. fractional operator overloading score 2 for input 3. simplification achieved by simple fraction of the two methods, the efficiency of the simple method of comparing two
test
- 基于《C程序设计》的静态变量模板运算符重载的c语言代码-Based on " C Programming" static variable template operator overloading c language code