登录
首页 » Visual C++ » Archive

Archive

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

  • PCA1
    主成分分析的代码,很有用,效果很好。这是一个比较有用的C++代码。(Principal component analysis of the code, very useful, very good. This is a more useful C++ code.)
    2014-09-07 15:27:41下载
    积分:1
  • C8
    说明:  罚函数法的Matlab程序设计的相关程序,不一定能运行有些错误可能(external penalty function method)
    2012-04-24 15:52:49下载
    积分:1
  • Sim
    电机控制系统,02年开始积累,效果好,速度快,PI控制,经典控制,fuzzy PID,自适应控制,速度位置控制等等,欢迎大家参考。(Servo motor control system, in 2002 began to accumulate, effective, fast, PI control, classical control, fuzzy PID, adaptive control, speed position control, etc., we welcome the reference.)
    2013-12-11 14:18:26下载
    积分:1
  • PureBasic-ABeginnersGuide
    purebasic的入门书籍,虽然用purebasic的人很少,甚至分类都没他。不过这个语言还是不错的。(purebasic entry books, although very few people with purebasic, or even no his classification. However, the language is good.)
    2010-08-18 01:28:39下载
    积分:1
  • Bartlettmethod
    bartle自功率谱密度分析,对于直接法的功率谱估计,当数据长度N太大时,谱曲线起伏加剧,若N太小,谱的分辨率又不好,因此需要改进。(Bartle since the power spectral density analysis, for the direct method of power spectrum estimation, when the data length N is too large, the spectrum curve of the ups and downs, if N is too small, the resolution of the spectrum and is not good, so need to improve.)
    2014-09-26 15:29:33下载
    积分:1
  • hao-FFT
    说明:  在网上下载的好用的傅里叶变换程序 时域变频域信号分析(Fourier transform program)
    2011-04-12 22:34:26下载
    积分:1
  • 33753130RFID
    用MATLAB进行 rfid读写器系统仿真(Using MATLAB for system simulation rfid reader)
    2009-03-13 14:05:00下载
    积分:1
  • C
    说明:  QuanXuan primary gaussian elimination technique solution of linear equations
    2011-04-20 15:10:16下载
    积分:1
  • matlab-a-VC
    Vc+_+调用matlab的一个实例,包括matlab源文件,VC源文件,以及word和pdf文件说明(Vc+_+ call matlab one instance, including the matlab source file, VC source files, as well as word and pdf file description)
    2013-07-13 16:10:42下载
    积分:1
  • charging
    该仿真为MATLAB仿真,关于充电桩的仿真,简单,可以运行(it is model on charging system ,it is simple and easy to understang.)
    2016-03-04 09:52:58下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载