登录
首页 » Visual C++ » Archive

Archive

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

  • Codes_PLS
    PLS 的Matlab代码,用于线性降维和回归分析(matlab source code for partial least squares)
    2010-05-14 16:00:07下载
    积分:1
  • MATLAB7SIMULINK6
    很好的matlab/simulink电子书(ebooks on matlab/simulink)
    2011-05-23 14:53:54下载
    积分:1
  • DLLTest200
    DLLTest200.rar,动态库的程序,写的简单易懂,可以参考(DLLTest200.rar,special for dll)
    2013-12-15 12:23:18下载
    积分:1
  • scara_robot
    SCARA four DOF planar articulated robot reference
    2013-10-18 14:52:50下载
    积分:1
  • voiceRecognitionSX
    这是一个基于DTW的语音识别算法,由matlab实现,相信对大家有帮助。(This is a DTW-based speech recognition algorithm by matlab to achieve, I believe that everyone has to help.)
    2013-11-18 16:14:02下载
    积分:1
  • matlabandvc
    VC++与Matlab混合编程的快速实现。快速实现vc++与matlab的接口通信。(VC++ and Matlab Fast Implementation of mixed programming. Fast Implementation of vc++ and matlab interface communication.)
    2010-10-30 09:34:08下载
    积分:1
  • ARIMAyuce000
    基于ARIMA时间序列模型对风速进行拟合,预测短时间的风速(Based on ARIMA time series model fitting for wind speed forecasting wind speed for a short period of time )
    2016-08-13 15:58:04下载
    积分:1
  • MATLAB
    自编MATLAB,里面包括:31点滚降,4psk程序,new眼图,等等(Self MATLAB, which includes: 31 point roll, 4psk procedures, new eye, and so on)
    2011-05-13 23:07:51下载
    积分:1
  • LAGchazhi
    用于实现拉格朗日差值算法,可用于GPS星历计算(For the Lagrange interpolation algorithm, can be used for GPS ephemeris )
    2014-08-14 17:06:42下载
    积分:1
  • code
    读入指定的音频序列,并对其进行无损预测编码和DM调制编码(Read into the specified audio sequences, and its lossless predictive coding and modulation coding DM)
    2013-12-22 21:50:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载