登录
首页 » Visual C++ » Archive

Archive

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

  • erode
    morphological operation such as erosion is very suitable to compress the size of the cell by using SE.
    2011-05-03 19:03:00下载
    积分:1
  • bilinerQuard
    bilinearquard在matlab中的实现 matlab有限元分析 源程序(bilinearquard implementation in matlab matlab source Finite Element Analysis)
    2013-11-11 13:46:44下载
    积分:1
  • integral2
    说明:  运用物理光学法和矩量法计算带罩天线的远场辐射。(use of optical physics and Moment Method band antenna covers the far field radiation.)
    2006-03-31 22:41:43下载
    积分:1
  • 1
    说明:  蚁群算法研究 Ant colony algorithm(Ant colony algorithm. Txt)
    2011-05-12 01:38:57下载
    积分:1
  • 2光伏电源+配网
    这是光伏电源并网的配网模型,里面包含boost,mppt,逆变器,10kv配电网(This is the distribution network model of photovoltaic power grid, which contains boost, MPPT, inverter, 10kV distribution network.)
    2018-03-21 10:12:16下载
    积分:1
  • Exercise04
    4th exercise of computer graphics course
    2014-11-22 23:54:40下载
    积分:1
  • downsample
    matlab dsp中函数downsample和upsamplec代码(matlab dsp functions in downsample and upsamplec code)
    2013-11-05 14:10:03下载
    积分:1
  • ELcentro
    将ELCentro波的加速度时程转换成速度、位移时程(Converting the acceleration time history of ELCentro wave into velocity and displacement time history)
    2021-01-30 11:18:33下载
    积分:1
  • gplab.3.bugfixes.20090608
    您上传的源码为何会被站长不采用或帐号被删除? 您上传的源码为何会被站长不采用或帐号被删除? (Your uploaded source why will be at the station to adopt or accounts removed? Your uploaded source why will be at the station to adopt or accounts removed?)
    2011-02-02 15:12:50下载
    积分:1
  • simple
    this script simulate the cooperative communication in order to get the number of packets suuccessfully transmitted by direct link and relay link
    2009-09-13 18:53:37下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载