登录
首页 » Visual C++ » Archive

Archive

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

  • RVM
    预测分类,针对目标样本进行训练比对,预测有可能发生的情况(Predictive classification, target training samples compared to predicted situation may occur)
    2013-12-17 21:01:12下载
    积分:1
  • HHT
    这是我上传的两篇关于HHT应用和HHT局限性的文章,上传出来大家一起看看啊(This is my upload HHT about two applications and the limitations of article HHT, upload them to see if everybody ah)
    2009-03-13 16:57:30下载
    积分:1
  • erfenfaheNewtonXiashan
    说明:  包括二分法,Newton下山法和improved Newton迭代法(Including the dichotomy, Newton downhill method and improved Newton iteration method)
    2008-10-25 18:56:34下载
    积分:1
  • CDT
    CDT规约,统称循环式远动规约,电力调度系统经常使用,经多年实践验证通过,需要时,可修改自己内部接口,完成代码移植。(CDT Statute, collectively, cycle remote Statute, power dispatching systems often use, after years of practice verified, if necessary, to modify their own internal interface, complete the code transplant.)
    2013-12-11 10:16:12下载
    积分:1
  • Wheel-And-Axle
    基于matlab建立的关于汽车轴的控制模型,包括轴的运动方程和模型的建立。其实在ADVISOR中可以找到,不过,用matlab2012版重新建立了。(Established based on matlab axis control on the car model, including axis motion equations and model. ADVISOR can be found in the fact, however, re-established with matlab2012 version.)
    2013-11-22 17:02:17下载
    积分:1
  • backwardforward
    backwardfoeward load flow for distribution network
    2014-02-14 00:30:57下载
    积分:1
  • Laba_2
    Default constructor MyString::MyString() { m_szString = NULL m_aSize = 0 cout << "Default constructor from my sting " }
    2010-01-21 00:08:12下载
    积分:1
  • Clieduua
    计算机械振动烈度,由采集的振振动位移数据来求得可直接使用。 (Calculation of the mechanical vibration intensity, obtained by the vibration vibration displacement data collected can be used directly.)
    2012-07-24 00:39:57下载
    积分:1
  • imreconstruct
    此函数是用C语言编写的MEX文件,与MATLAB中imreconstruct函数功能相同,效果一样,运行速率更快。(This function is written in C MEX file, the same function with in MATLAB imreconstruct function, the same effect faster run rate.)
    2012-08-01 16:49:21下载
    积分:1
  • Matlab_VC
    Matlab 和VC,用MATLAB产生dll。然后再VC里面调用dll文件(Matlab and VC ,dll)
    2011-10-14 11:20:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载