登录
首页 » Visual C++ » Archive

Archive

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

  • 977a510187f7
    基于c#的互相关函数计算,基于c#的互相关函数计算,基于c#的互相关函数计算,(Cross Correlation)
    2015-03-08 15:51:48下载
    积分:1
  • dandaofangzhen
    c++ 通用弹道仿真计算程序(经典版)lalalalla(C dandaofangzhenchengxudfdfdfdfdf)
    2013-09-08 13:55:54下载
    积分:1
  • matlab
    LabVIEW和MATLAB综合学习的一个简单例程(A simple routine LabVIEW and MATLAB integrated learning)
    2014-11-04 22:11:32下载
    积分:1
  • cppmath_ug2b
    Matlab C++ Math Library
    2011-11-14 19:34:34下载
    积分:1
  • MATCOMVC
    说明:  使用MATCOM使VC与MATLAB混编的小例子(VC and MATLAB using the mixed MATCOM small example of)
    2011-03-27 14:35:55下载
    积分:1
  • CoolXPProgressBar2
    .0 (MultiStyle ProgressBar)
    2007-06-17 06:01:55下载
    积分:1
  • filter_HFSS
    滤波器程序优化算法,可以生成脚本文件联合HFSS调用优化。(Filter program optimization algorithm, can generate a script file call optimization combined with HFSS. )
    2013-05-16 16:14:19下载
    积分:1
  • OTMatlab
    凸包绘制源程序Matlab的实现,凸包Matlab绘制(Convex hull draw Matlab source implementations)
    2015-01-13 22:22:22下载
    积分:1
  • Sistema-de-Ventas---VF
    Sistema de Ventas - VF
    2014-11-25 09:10:08下载
    积分:1
  • digital-signal-generator
    Matlab 数字信号发生器 课程要求,不全但可用。(Matlab digital signal generator)
    2011-10-21 16:59:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载