登录
首页 » Visual C++ » Archive

Archive

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

  • TurboCode
    信道编解码中的turbo编解码程序,采用了多种解码算法,进行了性能比较,信道模拟高斯白噪声信道(Channel of the turbo codec codec procedures, using a variety of decoding algorithms, a performance comparison, channel analog Gaussian white noise channel)
    2008-07-17 14:00:10下载
    积分:1
  • FuzzyPID
    fuzzypid模糊控制的程序,c++环境编程(fuzzypid fuzzy control program, c++ programming environment)
    2011-09-08 16:14:02下载
    积分:1
  • MPPT
    matlab MPPT仿真,定步长电导增量法,在matlab2011上验证可以使用(matlab mppt)
    2020-12-11 17:39:17下载
    积分:1
  • fengking_v57
    感应双馈发电机系统的仿真,基于欧几里得距离的聚类分析,粒子图像分割及匹配均为自行编制的子例程。( Simulation of doubly fed induction generator system, Clustering analysis based on Euclidean distance, Particle image segmentation and matching subroutines themselves are prepared.)
    2017-05-09 15:24:14下载
    积分:1
  • mexhandle
    you can pass C++ objects between different MEX functions without first converting to a MatLab compatible format(you can pass objects between different C ME X functions without first converting to a MatLa b compatible format)
    2006-12-08 00:59:45下载
    积分:1
  • cchygl
    会员管理软件会员管理软件会员管理软件会员管理软件会员管理软件(manager program 1234567893)
    2009-12-10 08:19:35下载
    积分:1
  • dec2bin
    decimal to binery converter
    2013-11-08 06:26:30下载
    积分:1
  • tsuspension_so
    matlab 实现汽车悬架分析,四分之一、二分之之一,整车悬架悬架 ,经测试可直接使用。 (matlab vehicle suspension analysis, one-quarter, one-half of vehicle suspension suspension, tested directly use.)
    2012-09-30 19:24:01下载
    积分:1
  • chudeng
    一个介绍matlab的课件,介绍初等模型的,相信对大家都有用处的,很好的课件。(An introduction matlab courseware to introduce elementary model, I believe we have useful, well courseware.)
    2010-07-27 16:41:55下载
    积分:1
  • job
    有m台不同的机器,n个不同的工件。每个工件有多道工序,每道工序由指定的机器在固定的时间内完成。一道工序一旦开始处理,就不能中断。每台机器一次只能处理一道工序。一个调度就是决定每台机器上工序的处理顺序,使得机器完成所有工件的时间最短。具体的,该问题就是要求在满足(1)、(2)两个约束条件的前提下,确定每台机器上工序的顺序,使加工的时间跨度(从开始加工到全部工件都加工完所需要的时间)达到最小。其中,(1)表示工件约束条件:对每个工件而言,机器对它的加工路线是事先确定的;(2)表示机器约束条件:对每台机器而言,一次只能对一道工序进行加工。()
    2007-09-18 23:30:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载