CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 搜索资源 - 友元函数

搜索资源列表

  1. 1

    0下载:
  2. C++ 实现运算符重载 包括+-*/利用友元函数实现-friend C++ ···Icannot say the exactive English to express the funtion of the project,please take a look at ubove
  3. 所属分类:Algorithm

    • 发布日期:2017-04-07
    • 文件大小:519418
    • 提供者:ding
  1. Friend_Class

    0下载:
  2. 深入理解C++友元函数的使用的一个很好的源码-A good source for In-depth understanding the use of C++ friend function
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-03
    • 文件大小:646
    • 提供者:peiren
  1. complex

    0下载:
  2. complex类加法,减法,乘法,除法运算,重载输出函数,运用友元函数,掌握类的声明和对象的定义; 观察构造函数和析构函数的执行过程; 学习使用Visual C++6.0的Debug调试功能,跟踪观察类的构造函数、析构函数、成员函数的执行顺序。-Complex kind of addition, subtraction, multiplication, and division, operation, an overloaded output function use friend
  3. 所属分类:Algorithm

    • 发布日期:2017-04-24
    • 文件大小:249021
    • 提供者:wen yan ping
  1. Class-and-object-

    0下载:
  2. 1. 建立一个对象数组,内放5个学生的数据(学号、成绩)。请根据下面要求实现类中的功能,其他的函数根据需要创建。 (1). 用指针指向数组首元素,输出第1,3,5个学生的数据。 (2). 以对象指针作为形式参数找出5个学生中学习成绩最高者。注:函数名为max 2. 定义一个圆类,分别用以下方法计算圆的面积和周长。 (1). 用成员函数实现求圆的面积和周长。 (2). 用友元函数求圆的面积和周长 -(1) create an array of objects, put th
  3. 所属分类:Mathimatics-Numerical algorithms

    • 发布日期:2017-03-31
    • 文件大小:1613
    • 提供者:苏树峰
  1. four

    0下载:
  2. 设计一个程序,其中有3个类,即CBank,BBank和GBank,分别为中国银行类,工商银行类和农业银行类。 每个类都包含一个私有数据balance,用于存放储户在该行的存款数,另有一个友元函数total用于计算储户在这3家银行中的总存款数。 -Design a program, of which there are three categories, namely CBank BBank and GBank Chinese bank, ICBC class, and the Agric
  3. 所属分类:Other windows programs

    • 发布日期:2017-04-02
    • 文件大小:6552
    • 提供者:胡桃
  1. youyuan

    0下载:
  2. 友元函数:定义Boat和Car两个类,两者都有weight属性,定义两者的一个友员函数totalweight(),计算两个类的对象的重量和。-Friend function: to define two classes of Boat and Car, both the weight attribute, defined both a friendly member function totalweight the (), calculate the two classes of objects
  3. 所属分类:source in ebook

    • 发布日期:2016-01-27
    • 文件大小:1080320
    • 提供者:程金凤
  1. iostream

    0下载:
  2. 在C++环境下,类的成员函数作为友元函数的实际例子 -In C++ environment, the class member function as a practical example of a friend function
  3. 所属分类:Mathimatics-Numerical algorithms

    • 发布日期:2017-04-04
    • 文件大小:565
    • 提供者:晚风愈寒
  1. friend

    0下载:
  2. C++友元的使用说说明,一个简单的例子,教你使用友元函数的声明定义。-friend use in C++,this is a simple example,for some people who just start study friend function.
  3. 所属分类:Other windows programs

    • 发布日期:2017-11-14
    • 文件大小:4267
    • 提供者:super
  1. 2.5

    0下载:
  2. (学生类设计).设计一个友元函数,按 照成绩从高到低的顺序输出姓名、学号和成绩信息。-( the student class design ). Designing a friend function, according to the results from high to low order output name, student ID and performance information.
  3. 所属分类:Other windows programs

    • 发布日期:2017-11-26
    • 文件大小:1050
    • 提供者:tom
  1. Friend

    0下载:
  2. 这时一段描述C++中友元函数代码,具体是关于类中申明友元,在类外定义,在类中申明且定义等。-Friend in C++.
  3. 所属分类:Other windows programs

    • 发布日期:2017-11-24
    • 文件大小:1080787
    • 提供者:吕斌
  1. car-and-boat

    0下载:
  2. 车和船的总质量,定义一个船类和车类,使之求出车和船的总质量,用友元函数-The total mass of the car and boat, define a Boat and vehicle classes, so obtaining the total mass of the car and boat UF metafunction
  3. 所属分类:CSharp

    • 发布日期:2017-11-11
    • 文件大小:276714
    • 提供者:小毛
  1. shiyan

    0下载:
  2. 实现客户机(CLIENT)类。定义字符型静态数据成员ServerName,保存其服务器名称;整型静态数据成员ClientNum,记录已定义的客户数量;定义静态函数ChangeServerName()改变服务器名称。在头文件client.h中定义类,在文件client.cpp中实现,在文件test.cpp 中测试这个类,观察相应的成员变量取值的变化情况。(需要给出main函数代码和运行结果) 完善Body类,将检测胖瘦的标准定义为静态数据成员并设计相应的静态成员函数。(最好给出main函数
  3. 所属分类:source in ebook

    • 发布日期:2016-01-26
    • 文件大小:799744
    • 提供者:
  1. jtyyyy

    0下载:
  2. 静态成员与友元学习友元函数的定义和原理。 • 学习静态数据成员和静态成员函数的使用。 • 学习静态成员代替全局变量实现对象间的共享。 -Learning friend function definitions and principles. • Learn to use static data members and static member functions. • Learning static members instead
  3. 所属分类:assembly language

    • 发布日期:2017-11-18
    • 文件大小:132710
    • 提供者:peng
  1. freind-class

    0下载:
  2. 类静态变量的作用与应用、友元函数与友元类的使用方法、容器类的作用与使用方法 -Class static variables and the role of friend function and friend use a container class use
  3. 所属分类:CSharp

    • 发布日期:2017-11-27
    • 文件大小:1571
    • 提供者:yfz
  1. yunsuanfuchongzai

    0下载:
  2. 用友元函数实现运算符的重载,包括加、减乘、除的重载,实现复数运算-Friend function operator overloading, including addition, subtraction multiplication, in addition to overloaded plural computing
  3. 所属分类:Other windows programs

    • 发布日期:2017-12-02
    • 文件大小:622
    • 提供者:xiamu
  1. main

    0下载:
  2. 设计一个类CRectangle,有5个数据成员(私有属性),分别为矩形左上顶点的横坐标、纵坐标和矩形的长、宽及矩形面积。该类还要求有5个成员函数(公有属性)和1个友元函数:矩形移动位置的move()函数,改变矩形大小的size()函数,显示输出数据成员的show()函数,构造函数和析构函数,友元函数是求矩形面积的area(),要求构造函数按形参(有默认参数值)初始化对象。并编写main函数测试该类各功能(至少定义2个对象)。 1、main函数中定义该类的对象,再调用各成员函数和友元函数。
  3. 所属分类:Other systems

    • 发布日期:2017-11-27
    • 文件大小:681
    • 提供者:王祎
  1. 4

    0下载:
  2. 描述: 定义表示形状的抽象类及相应的派生类,并实现相关操作符重载。 (1)定义表示形状的抽象类Shape: 添加公有成员函数double Area(),用于计算形状面积;定义为纯虚函数; 添加公有成员函数void Show(),用于显示形状信息,定义为纯虚函数; 定义虚的析构函数; 重载比较操作符:==、>和<,用于比较两个形状面积的大小关系,返回值类型为bool,可以定义为成员函数或友元函数。 -Descr iption: De
  3. 所属分类:Windows Develop

    • 发布日期:2017-11-20
    • 文件大小:1159
    • 提供者:zhang
  1. fist

    0下载:
  2. 定义一个人民币类 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.
  3. 所属分类:source in ebook

    • 发布日期:2017-11-09
    • 文件大小:532
    • 提供者:yes
  1. friendFunction

    0下载:
  2. 本程序介绍了C++中友元函数的用法和作用,可以好好体会下。-This procedure describes the usage and role C++ friend function, can under good experience.
  3. 所属分类:Other windows programs

    • 发布日期:2017-11-08
    • 文件大小:507210
    • 提供者:szl
  1. 2

    0下载:
  2. 定义实现大整数运算的类LINT,该类实现两个100位以内的大整数的加法和结果输出。 类可以有如下的类似定义: class LINT { private: // …… public: LINT(char*) LINT operator+(const LINT& L) ostream& operator<<(const ostream& os, const LINT& L) // …… } 要求: 1)构造
  3. 所属分类:Other systems

    • 发布日期:2017-11-14
    • 文件大小:573
    • 提供者:Elena
« 1 2 3 45 6 7 »
搜珍网 www.dssz.com