登录
首页 » Visual C++ » Archive

Archive

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

  • bank
    用户可以进行查询,也可以进行取款存款,还可以转账(Users can query, can also make deposits, withdrawals can also be transferred)
    2010-01-06 19:11:12下载
    积分:1
  • Hl7Chinese
    医学信息编码标准,很贵呀;医学信息编码标准,很贵呀;(用于医疗软件开发的行业标准)
    2010-01-27 21:54:19下载
    积分:1
  • facerecognition
    加州大学的MATLAB人脸识别代码,采用了图像结构模型,可以很好地识别人脸(University of California MATLAB code for face recognition, using the image structure model, can be a good face recognition)
    2013-12-18 15:28:45下载
    积分:1
  • project1
    对不同的查找精心效率的估计,其中采用了3中不同的查找 方式。(Search carefully for different efficiency estimates, which used 3 different search methods.)
    2007-10-15 23:29:01下载
    积分:1
  • ctwmcmcbridge
    file dll very important to run the file spike under matlab code.
    2010-12-14 14:55:55下载
    积分:1
  • voigt
    可以计算物理学中的voigt线型,通过两个展宽的卷积实现更接近实际情况(this code could get the voigt of broad )
    2014-12-25 16:23:19下载
    积分:1
  • Example1
    ANSI input 5p1 implementation example
    2012-10-23 14:09:32下载
    积分:1
  • Nevill
    下载的,求方程组的程序,可以借鉴下,挺好的(Downloaded, find the program equations, can learn, the very good)
    2011-09-28 08:42:22下载
    积分:1
  • QRCode_BIAOZHUN
    简单的二维码QRCode C_C++库使用演示源代码
    2014-08-20 22:25:18下载
    积分:1
  • Wavelet_denoising
    小波去噪matlab程序,有demo,本人已运行,能用,大家可以试一试。(Wavelet denoising matlab program, demo, I have to run, can be used, we can try.)
    2013-10-25 21:10:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载