登录
首页 » Visual C++ » Archive

Archive

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

  • 1
    说明:  matlab中很实用的源代码1,例图图形转换、非线性变换等等(Practical source code of MATLAB)
    2015-04-20 16:21:16下载
    积分:1
  • owners
    Script generates list of owners for files in choose directory
    2014-10-27 22:17:41下载
    积分:1
  • q
    说明:  简单的画折线功能,单击右键示图取消,按住control键重置起点。(The painting features a simple broken line, right-click Diagram canceled, hold down the control key to reset the starting point.)
    2009-11-23 15:55:45下载
    积分:1
  • 3.18
    编写程序来创建有10个元素的vector对象。用迭代器把每个元素值改为当前值的2倍。(Write a program to create vector objects have 10 elements. With the value of each element iterator to 2 times the current value.)
    2015-03-04 15:15:37下载
    积分:1
  • 915M-uhf
    这是通过hfss软件设计915m超高频偶极子天线工程 此设计只通过仿真验证 没有制作实物验证(It is designed to 915m UHF dipole antenna hfss software engineering through the design just does not make physical verification by simulation)
    2013-12-29 10:53:39下载
    积分:1
  • glm-0.9.4.6
    glm for lybrary in the Open GL program, that let you make a file including glm.
    2020-10-09 20:57:34下载
    积分:1
  • QPlayCap01
    windows打开拍照检索关闭camera的相关函数实现(The camera Function for windows)
    2015-02-12 09:18:39下载
    积分:1
  • c5ex
    C.Primer.Plus 第五版 书中的源代码(C.Primer.Plus fifth edition of the book' s source code)
    2010-05-11 12:48:13下载
    积分:1
  • VC_and_matlab_mix_code
    VC++与MATLAB的混合编程的快速实现 讨论了如何用MATLAB的complier将*.m函数编译为动态链接库DLL,供VC++使用的方法。(VC++ and MATLAB programming for fast implementation of mixed discuss how to use MATLAB' s complier to*. m functions compiled as dynamic link library DLL, VC++ for the methods used.)
    2010-06-30 15:44:04下载
    积分:1
  • Ds_fusion
    实现数据融合,证据理论,有详细的文字说明,便于移植使用(realize data fusion,evidential theroy)
    2011-12-01 16:08:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载