登录
首页 » Visual C++ » Archive

Archive

于 2013-12-18 发布 文件大小:1KB
0 276
下载积分: 1 下载次数: 2

代码说明:

  4) 创建一个名为Complex的类,进行复数的算术运算。复数的形式为: realpart+imaginarypart*i 用浮点变量表示类的private数据。提供构造函数,能够对所声明的该类对象进行初始化。在不提供初始化值的情况下,该构造函数应包含默认值。针对以下功能,分别提供一个public成员函数。 (1)两个复数相加; (2)两个复数相减 (3)用(a, b)的形式打印复数,其中a为实部,b为虚部。 (4) Create a class called Complex, and perform complex arithmetic operations. Plural form: realpart+imaginarypart* i said private data class with floating point variables. Provide a constructor, the object can be declared for the class is initialized. In the case do not provide initialization values, the constructor should contain default values. For the following functions, which provide a public member function. (A) two complex numbers (2) the subtraction of two complex (3) (a, b) in the form of plural printing, where a is the real part, b is the imaginary part.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Matlab
    Matlab数字图像处理源代码,里面有书上的代码,便于读者下载(Matlab Digital image processing source code,There are books code, convenient for readers to download。)
    2013-12-05 15:19:41下载
    积分:1
  • MOpttimumMLCoL
    最优化的MLC相干接收机mattlab程序源码! (Optimal MLC to coherent the receiver mattlab program source code!)
    2012-07-29 00:34:25下载
    积分:1
  • 采用遗传算法及改进的遗传算法进行配电网故障的定位
    采用遗传算法及改进的遗传算法进行配电网故障的定位 (Genetic Algorithm algorithm for fault location of distributionnetworks)
    2012-04-20 19:17:03下载
    积分:1
  • LMSzishiyinglubo
    自适应滤波,用LMS算法做的,供大家参考(Adaptive filter, LMS algorithm used to do, for your reference)
    2011-06-02 02:37:16下载
    积分:1
  • 2139655simulate_echo
    ISAR的成像程序,希望大家一起共享,谢谢了(ISAR imaging procedures in the hope to share with everyone, thank you)
    2011-11-20 16:29:58下载
    积分:1
  • VC_MATLAB7SharedLibrary
    调用MATLAB7 Compiler 产生共享库程序的方法介绍,有如下的大致结构: 1.声明变量或者是函数作为输入变量; 2. 调用 mclInitalizeApplication函数,并测试是否成功,该函数设置了一个全局的MCR 状态,并且构建MCR实例; 3. 对于每个库,调用一次<libraryname>Initalize函数,为库创建一个MCR 实例; 4. 调用库中的函数,并处理其结果(这是程序的主要部分); 5. 为每个库调用一次<libraryname>Terminate函数,用于注销相联系的MCR; 6. 调用 mclTerminateApplication函数,释放与全局MCR状态相联系的资源; 7. 清除变换,关闭文件等,然后退出。(VC+ MATLAB7 C Shared Library Target)
    2009-06-06 10:46:54下载
    积分:1
  • MOM-zhenzidianliufenbu
    matlab矩量法(Hallen公式)编的半波振子,但是电流总是不对(matlab method of moments (Hallen equation) series of half-wave dipole, but the current is always right)
    2011-11-06 15:30:05下载
    积分:1
  • 1
    说明:  matlab高效编程程序源代码第一章,可以运行。(efficient programming source code matlab chapter, you can run.)
    2011-04-10 15:29:19下载
    积分:1
  • GTS400-APP-V2a
    固高控制卡程序,点到点运动,双轴插补,测试程序(GuGao Control Card Codes)
    2014-11-22 11:18:23下载
    积分:1
  • embedded-systems
    基于 嵌 入式系 统 理 论和 容 错系 统 体系 结 构, 结 合故障 一 安 全电 路的 设计 理念, 给出 了 一 种 嵌 入式 二乘 二 取 二容 错计算 机 联锁系 统的 硬件 设计. 深 入阐 述了 系 统 硬件电 路的 设计理论依据和工 作原 理, 同 时 给出了 设计中 的 元 件选型. 通过功能 测试, 系 统设计符 合故障 一 安全的 设计原则, 理论 计 算 表明, 其可 靠 性、 安全 性 达 到 铁 路 信号系 统 要求(Based on the theory of embedded systems and fault-tolerant system architecture, combining design fail-safe circuitry, gives a socketed Take two squares two-in fault-tolerant computer interlocking system hardware design. Further expounded on system hardware circuit design theory and work Design principles for the principle, and gives the design of the component selection through functional testing, failure of a safety system designed to meet the theoretical Calculations show that the reliability, security, railway signaling system requirements to achieve)
    2014-01-19 21:42:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载