登录
首页 » Visual C++ » Archive

Archive

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

  • utd
    文章有utd对爬行波进行循迹 给出微分几何算法 可在matlab 及vc来开发(Utd article has crawling wave of differential geometry tracking algorithm is given in the matlab and vc to develop)
    2008-07-07 16:40:00下载
    积分:1
  • LDA
    LDA的学习资料的合计!有MATLAB的实现例子!(Total LDA learning information! MATLAB examples of realization!)
    2012-10-26 18:26:01下载
    积分:1
  • Cguide
    帮助新手规范C程序书写格式 帮助老手纠正错误的书写习惯 使程序效率更高(C program written to help novice standard format to help veterans to correct the wrong writing habits to make programs more efficient)
    2009-12-08 16:42:44下载
    积分:1
  • HEED
    简单的matlabheed算法,适用于初学者(Simple matlabheed algorithm, it is suitable for beginners)
    2012-09-26 21:27:00下载
    积分:1
  • BBEZZIER_SURRe
    贝塞尔曲面显示出来程序源码,里面包含非常常多子程序源码,希望对您有用 可直接使用。 (Bezier surface display program source code, which contains very often subroutine source code, I hope you can be used directly.)
    2012-07-10 17:10:25下载
    积分:1
  • polyphase
    这个是多相滤波的MATLAB程序,做接收机的同学可以参考的(this is a polyphase programme)
    2013-11-06 20:01:53下载
    积分:1
  • queue
    说明:  非常著名的爱尔朗公式的实现,主要对排队思想的进一步编程实现(Well-known Erlang formula to achieve, mainly on the line thinking further programming)
    2010-04-17 11:50:00下载
    积分:1
  • pso1
    基本粒子群程序,可以给急需的人提供些帮助。 (Of the particle swarm program)
    2012-11-21 16:27:51下载
    积分:1
  • Damped-oscillation-curve
    以MATcom为内核的C++程序,调用MATLAB拟合衰减振荡曲线(多线程)(In MATcom as the core C++ program, call the MATLAB fitting damped oscillation curve (multi-threading))
    2013-09-21 10:23:25下载
    积分:1
  • tankf
    matlab simuink 模糊控制器tank 改进(matlab simuink improved fuzzy controller tank)
    2014-01-17 10:24:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载