登录
首页 » Visual C++ » Archive

Archive

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

  • CPP_with_Matlab
    how to load .m matlab file in c++. c++ with matlab
    2013-02-01 19:17:58下载
    积分:1
  • weixingtongxin
    说明:  现代卫星通信系统有关卫星通信的书籍,对做卫星通信的会有用的(Of modern satellite communication system of books on satellite communications, to do so will be useful for satellite communications)
    2010-03-17 10:07:34下载
    积分:1
  • dtc_control-without-sensor
    this is a dtc control system and it with sensorless
    2011-12-31 10:04:20下载
    积分:1
  • EIMCSystem
    429总线传输,与MATLAB通信,采用共享内存的机制(429bus transmation)
    2010-11-18 15:39:00下载
    积分:1
  • bfsk
    bfsk调制解调误码率仿真,需要用MATLAB来实现的好东西(bfsk modem bit error rate simulation, need to use MATLAB to implement the good stuff)
    2010-05-11 16:30:02下载
    积分:1
  • MATLAB-statistical-analysis
    《MATLAB统计分析与应用:40个案例分析》程序与数据(MATLAB statistical analysis and application: 40 case studies" program and data)
    2011-12-01 17:52:51下载
    积分:1
  • small
    说明:  声波方程正演模拟小模型波场绘制。只有一层,震源在中间。C程序,Matlab绘图。(Acoustic wave equation forward modeling small-scale model wave field rendering. Only one layer, source in the middle. C program, Matlab graphics.)
    2009-08-25 09:28:04下载
    积分:1
  • 半不变量法概率潮流计算 CMPPF IEEE34
    实现半不变量法概率潮流计算,并与蒙特卡洛模拟法作比较(Probabilistic power flow based on cumulants, compared with monte-carlo simulink method)
    2021-05-09 17:58:35下载
    积分:1
  • UMAT-fuhao-shuoming
    abaqus二次开发子程序umat符号说明及实例详解,初学者必备之基础(abaqus secondary development subroutine umat symbol descriptions and examples detailed essential foundation for beginners)
    2021-04-05 16:59:04下载
    积分:1
  • fenduanxianxing
    三次样条插值,拉格朗日,分段线性插值的matlab程序(Cubic spline, the piecewise function interpolation method and Lagrangian matlab program, for example)
    2014-12-16 15:36:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载