登录
首页 » Visual C++ » Archive

Archive

于 2013-12-18 发布 文件大小:1KB
0 243
下载积分: 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 个回复

  • Search-in-Rotated-Sorted-Array
    LeetCode OJ:Search in Rotated Sorted Array
    2014-06-01 15:49:43下载
    积分:1
  • MATLAB_PV
    MATLAB很好的仿真里程,包含了很多电子器件仿真,例如DCDC等(MATLAB simulation good mileage, contains a lot of electronics simulation, for example, DCDC, etc.)
    2015-01-05 15:13:14下载
    积分:1
  • lifangti
    利用MATLAB画出一个立方体,并通过一种简单仿射变换矩阵得到变换的立方体(Use of MATLAB draw a cube, and through a simple affine transformation matrix get transformation of the cube )
    2012-07-14 19:17:28下载
    积分:1
  • mhuffmana
    matlab程序,完成hufffman编解码的功能 (matlab program to complete the hufffman codec function)
    2012-08-07 01:41:18下载
    积分:1
  • OMATLAB_ssvmn
    关于支持向量机的MATLABB程序,用于模式识别可直接使用。 (MATLABB program on support vector machine for pattern recognition can be used directly.)
    2012-07-17 08:26:15下载
    积分:1
  • CEGUI_Chinese_display-_Demo
    CEGUI中文显示和输入源代码demo,CEGUI中文显示和输入源代码demo(CEGUI Chinese display and input source code demo, CEGUI Chinese display and input source code demo)
    2011-05-16 13:36:01下载
    积分:1
  • dspFIR
    数字信号处理的滤波器设计,有限长冲击响应FIR滤波器,(Digital signal processing filter design, finite impulse response (FIR) filter,)
    2014-01-30 17:29:25下载
    积分:1
  • numerical
    numerical code for matlab analytical bisec differentiation F FALSEPOS fixedpoint
    2013-09-04 02:29:02下载
    积分:1
  • radar_system_guide
    雷达系统导论,第三版 美国 斯科尔尼克 第三版 完整版(Introduction to radar systems, the third edition of the American Skolnick v3 full version)
    2013-03-31 16:23:32下载
    积分:1
  • chepaidingwei
    说明:  基于MATLAB和VC++6.0制作的车牌定位系统,做毕业设计的朋友可以参考参考(MATLAB and VC++6.0 based on production of license plate positioning system, the final project can refer to refer to a friend)
    2010-05-02 14:53:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载