登录
首页 » Visual C++ » Archive

Archive

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

  • E-mail高级编
    有关EMAIL的一些简单编程,大家可以参考下(about some simple email programming which can be refered.)
    2005-06-03 13:41:53下载
    积分:1
  • csjjl
    根据推导的公式仿真中重LFM信号的回波及处理过程,单个脉冲的回波(距离模糊情况下)为一行向量, 本程序专门用于对比不同处理情况下的积累效果(Long accumulation of compensation)
    2013-08-05 23:25:39下载
    积分:1
  • parameter-estimation-
    Welch法谱估计和参数模型谱估计的MATLAB分析(Welch spectral estimation MATLAB analysis and parameter estimation of the model spectrum)
    2013-12-25 18:50:31下载
    积分:1
  • MWinnd_TurbiiA
    一种基于MATLAB Simullink的风力发电系统的风力机模型。 (A based the MATLAB Simullink wind power system wind turbine model.)
    2012-07-19 20:16:32下载
    积分:1
  • Matlab-and-VCPP-mixing-programming
    Matlab_ and _VC + + mixing programming process explanation (including part of the problem solutions)(Matlab_ and _VC++ mixing programming process explanation (including part of the problem solutions))
    2011-11-23 22:44:51下载
    积分:1
  • stest
    matlab ,本文献是关于广义s变换的一个源码,但是源码只有函数,不能自动生成变换(Matlab, this literature is a source of generalized s transform, but the source function only, not be generated automatically transform)
    2012-05-24 10:46:26下载
    积分:1
  • AKF
    自适应KF对航行器进行滤波,包括sage_husa,和简化的自适应算法。(KF adaptive filtering for aircraft, including sage_husa, and simplified adaptive algorithm.)
    2020-12-10 21:19:19下载
    积分:1
  • 1
    说明:  细分曲面catmullClark细分算法代码,直接运行的结果为一个实例的细分结果(subdivision surface)
    2016-03-27 21:22:44下载
    积分:1
  • SourceCodeWM4e
    Data Abstraction & Problem Solving with C++源码(Data Abstraction )
    2007-10-23 16:20:53下载
    积分:1
  • Msimplefuunca
    几个用matlab实现正向云发生器,k均值算法的的程序,都已调试通过 ,经测试可直接使用。 (Several matlab realize positive cloud generator, k-means algorithm procedures have been debugging through, has been tested and can be used directly.)
    2012-09-30 18:15:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载