登录
首页 » Visual C++ » Archive

Archive

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

  • eyefinder
    定位眼神的程序,有mATLAbC++多种版本可供使用(Positioning the eyes of the program, mATLAb C++ multiple versions available)
    2012-07-16 14:39:03下载
    积分:1
  • design
    轨道设计,确定着陆准备轨道近月点和远月点的位置,以及嫦娥三号相应速度的大小与方向。(Track design, determine the location of the landing point in recent months to prepare the track and Apolune, as well as the size and direction of the Chang-e III corresponding velocity.)
    2014-09-12 17:06:03下载
    积分:1
  • PQ-power-flow
    基于MATLAB,用PQ分解法计算电力系统潮流(Solutions trend calculated using PQ decomposition method)
    2014-11-06 09:29:23下载
    积分:1
  • dispersion
    采用Matlab的圆柱周期结构的色散数值计算程序(dispersion )
    2014-11-15 09:07:46下载
    积分:1
  • window
    matlab hann hamming window FFT DFT DTFT
    2013-11-21 21:52:01下载
    积分:1
  • cppprograming
    c++程序设计讲义 cppprograming 含源码(c++ programming including lectures cppprograming source)
    2007-08-08 11:02:48下载
    积分:1
  • matlab-guide-to-finite-element
    国外计算机经典教材,MATLAB有限元分析与应用。该书为中译本,详尽介绍了有限元分析的各种方法。(MATLAB guide to finite elements.)
    2013-12-24 00:07:01下载
    积分:1
  • fuzzy
    模糊数学在聚类分析中的作用(matlab代码)(Fuzzy clustering analysis of the role in the (matlab code))
    2013-08-22 14:51:18下载
    积分:1
  • project2
    读入文件,对文件进行无损预测编码和解码,然后对文件进行DM编码和解码(Read the file, the file lossless predictive coding and decoding, and then the file encoding and decoding DM)
    2014-11-23 11:42:20下载
    积分:1
  • book
    浪涛之巅小说,介绍互联网技术的发展,非常好的资料;(Introduct book for internet development)
    2010-01-13 11:27:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载