搜索资源列表
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
language3-4casesofactual
- 实例3 算术运算符计算器 实例4 逻辑运算符计算器-Example 3 arithmetic calculator Example 4 logical Calculator
c
- 实现功能: 1)具备整型数据、浮点型数据的算术(加、减、乘、除)运算功能。 依次输入第一个运算数、运算符(+,-,*,/),第二个运算数,然后输出结果。 结果可以作为下一个运算的第一运算数。按‘C’清屏,按‘X’退出。 例如:输入:2 + 5 输出:7 2)实现单运算符表达式计算的功能。 输入的操作数可以包含整数或浮点数。如果遇到错误的表达式,应输出错误提示信息。 输入表达式如下: 例如:输入:2+5 输出:7-Realize functions:
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
deck-of-cards
- 编写一个洗牌和发牌的程序,包含类Card, 类DeckOfCards和一个驱动程序 类Card有: a) int型的数据成员face和suit b) 接受两个int型数据表示面值和花色的构造函数用于初始化数据 c) 两个string类型的static数组代表面值和花色 d) 一个toString函数返回Card,形式是“face of suit”的字符串。可以用+运算符连接字符串 类DeckOfCards有: a) 一个名为deck的Card类vector,用于存储C
polynomial
- H11增强Polynomial类 (1) 以动态数组实现多项式类。多项式系数的最大上限为int数据类型能表示的最大整数,但在构建对象时不指定系数上限 (2) 对两个Polynomial类对象的运算,分别重载“+”“-”运算,并能够级联调用 (3) 重载“<<”操作符,并能级联调用。 (4) 重载赋值运算符“=”,思考为何必须重载该运算符,如果不重载会发生什么问题? -H11 Enhanced the Polynomial class (1) dynamic arr
if-
- 条件运算符使用技巧实例 条件运算符使用技巧实例-ifforwhile.....
vb2010cankao-chm
- VisualBasic 2010 开发参考 chm,一个小巧的Vb2010参考手册 ,包括了运算符、各种函数和方法、属性介绍的CHM帮助文档,并对一些常见的错误进行注释,分享解决问题的思路等,对想学VB 编程的朋友是个不错的参考手册。-CHM help files VisualBasic 2010 Development Reference chm, a small Vb2010 reference manual, including the operator, the various func
pointchongzai
- C++中对运算符的重载,主要以前置后置++--为例,对初学者有帮助-C++ the overloading of operators, mainly in the pre-post++- for example, help for beginners
learning-CPP-PPT
- 有一些C++的基础知识,从基础开始比如变量和数据类型,运算符和表达式等,最后讲述了C++的一个学生管理系统的例子。-There are some of the basics C++ the start with the basics such as variables and data types, operators and expressions, etc., and finally tells C++ example of a student management system.
lingdianqifeixue_cPP
- 《零点起飞学c++》结合大量示例和实战案例,由浅入深、循序渐进地介绍c++语言的相关知识,尤其对面向过程的程序设计到面向对象的程序设计做了重点介绍和必要辨析,《零点起飞学c++》共分4篇,第1篇面向过程的c++编程,包括走进c++、数据类型、变量和常量、运算符、表达式和语句、指针的操作、复合数据类型、函数、输入/输出,以及面向过程的编程案例。第2篇介绍面向对象的c++编程,包括封装、命名空间和作用域、继承和派生、多态、模板,以及面向对象的编程案例。第3篇介绍c++的高级开发技术,包括string
qrocedzres
- 这是一个运算符,表达式和语句程序,里面有很多关于它们的例子-This is an operator, expressions and statements procedures, there are many examples about them