登录
首页 » Visual C++ » Archive

Archive

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

  • Untitled
    用Simulink方式设计一个单边带传输系统并通过声卡输出接收机解调的结果声音(To design a single-sideband transmission systems using Simulink and through the sound card output receiver demodulation results of sound)
    2012-06-06 10:23:59下载
    积分:1
  • mapwindow6-81799
    mapwindow6的源码。对于学习提高非常有用(mapwindow6 source. Very useful for learning to improve.)
    2013-11-17 09:46:02下载
    积分:1
  • MCM2010
    2010年美国大学生数学建模竞赛MCM A题一等奖论文与相关程序代码,解决棒球的最佳击球点的建模问题。程序由VC6编写,用到了VC6与MATLAB7的联合编程。希望对备战美赛或国赛的同学有所帮助(2010 American Mathematical Contest in Modeling MCM A prize question papers and related code to solve baseball' s best hitting point modeling. Procedures prepared by the VC6, use the VC6 and MATLAB7 joint programming. Want to prepare for the U.S. race or national competition helps students)
    2010-05-25 11:18:48下载
    积分:1
  • xiangweifacejiao
    关于雷达相位法测角的论文:MUSIC,多基线相位测角法(Phase angle measured on radar papers: MUSIC, multi-baseline phase angle measurement method)
    2014-08-31 11:25:20下载
    积分:1
  • WindowDcDemo
    在视图中使用CWindowDC在整个窗口进行绘图,C++精选学习源码,很好的参考资料。(For drawing in the window using CWindowDC in the view, select learning C++ source code, a good reference.)
    2013-11-27 07:37:26下载
    积分:1
  • HUFFMAN
    Huffan codein and decoding
    2015-03-20 17:25:33下载
    积分:1
  • whwfun
    matlab/simumatlab/simulinkSfunctionC文件例子源码linkSfunmatlab/simulinkSfunctionC文件例子源码ctionC文件例子源码(matlab/simumatlab/simulinkSfunctionC examples of source documents linkSfunmatlab/simulinkSfunctionC paper documents examples of ctionC example source code)
    2009-07-09 22:33:00下载
    积分:1
  • fd1d
    电磁场仿真 使用时域有限差分方法 用c和matlab混合编程(Electromagnetic simulation using the FDTD method for hybrid programming with c and matlab)
    2011-05-12 01:12:28下载
    积分:1
  • matlab
    EKF算法在MATLAB中的仿真及其分析比较(EKF algorithm in MATLAB simulation and analysis)
    2013-03-08 22:13:22下载
    积分:1
  • seismic
    内含五个程序 1.zoeppritz Aki K I 和Richards P G的纵波近似程序 2.地震记录合成程序 3.大地电磁一维正演程序 4.雷克子波合成程序 5.地震反射系数生成程序(1.zoeppritz Aki KI and Richards PG longitudinal wave approximation procedures 2. Seismogram synthesis program 3. Magnetotelluric one-dimensional forward modeling program 4. Ricker wave synthesis procedure 5. Seismic reflection coefficient generator)
    2013-11-23 20:50:58下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载