登录
首页 » Visual C++ » Archive

Archive

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

  • subsection4.4
    我导师写的《自适应控制与理论》的源代码。非常好。(My tutor had written the adaptive control and the theory of source code. Very good.)
    2011-05-26 11:28:06下载
    积分:1
  • Phased-array-radar
    关于相控阵雷达的经典书籍,对学习雷达相当有帮助(On the phased array radar on the classic books, for learning radar quite helpful)
    2011-12-15 19:24:07下载
    积分:1
  • VC-Matlab-hunhebiancheng
    对利用vc和matlab的混合编程技术进行介绍(For mixed use vc and matlab programming techniques are introduced)
    2011-09-17 12:00:10下载
    积分:1
  • m
    说明:  主成分分析算法,有大量数据,初学者可以根据数据看程序,并且可以出现图像(Principal component analysis algorithm, there is a large amount of data, beginners can look at program according to the data, and can appear the image)
    2014-11-24 14:46:19下载
    积分:1
  • lorenz
    Lorenz吸引子相空间轨迹相图,包括子程序和主程序,r=28时的暂态混沌状态(Lorenz attractor phase space trajectory phase diagram, including subroutines and the main program, r = 28 when the transient state of chaos)
    2015-11-23 19:52:44下载
    积分:1
  • xian
    运用matlab软件,编程运算,进行回归分析(Use matlab software, programming operations, the regression analysis)
    2013-09-14 10:15:19下载
    积分:1
  • __Least_Squares_Support
    第5个:matlab 和C++联合用于SVM,另外一种风格的(the 5 file: matlab and c++ together for SVM)
    2011-12-28 09:52:35下载
    积分:1
  • BCEncode
    二维码操作程序示例二维码操作程序示例二维码操作程序示例二维码操作程序示例(Two-dimensional example of a program of two-dimensional code code example of a program of two-dimensional example of a program of two-dimensional code code example of a program)
    2013-12-03 11:33:43下载
    积分:1
  • TestB3Line
    三次样条曲线拟和,能够很好的处理离散点的拟和问题,值得收藏(Cubic spline curve fitting and)
    2009-10-22 10:02:54下载
    积分:1
  • Untitled
    matlab绘制阵列正六边形。采用坐标方法。(Draw a regular hexagon array matlab. Using coordinate methods.)
    2021-01-04 20:48:55下载
    积分:1
  • 696518资源总数
  • 104932会员总数
  • 9今日下载