登录
首页 » Visual C++ » Archive

Archive

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

  • up
    说明:  简单例子A simple exampleA simple example(A simple example)
    2014-10-22 13:13:14下载
    积分:1
  • fv
    说明:  这是一个计算镜头视场的软件,非常简单但是很实用。(This is a calculation of the lens field of view of the software, very simple but very practical.)
    2009-01-14 11:04:18下载
    积分:1
  • matlab-command-window
    用编程的方式修改MATLAB命令窗口的前景色和背景色(Programmatically modify the MATLAB command window to the foreground and background colors)
    2013-04-15 21:15:46下载
    积分:1
  • SplashScreen_VC
    AppWizard has created this SplashScreen application for you.It is programmed by visual C++.(AppWizard this has created a SplashScreen pplication for you.It is programmed by visual C .)
    2006-10-30 12:24:46下载
    积分:1
  • likelihood-DOA
    信号数目估计错误的最大似然波达方向估计的性能分析(The number of signal estimation error of maximum likelihood DOA estimation performance analysis)
    2013-12-26 12:59:21下载
    积分:1
  • shuzixinhaochuli
    电子工业出版社《数字信号处理——基于计算机的方法》第三版的matlab代码,(Publishing House of Electronics Industry "digital signal processing- computer-based method for the third edition of the matlab code)
    2012-10-29 16:40:34下载
    积分:1
  • BLDC
    基于matlab的无刷直流电机仿真速度PI,电流PI双闭环仿真(Matlab-based simulation of brushless DC motor, using speed PI, current PI double closed loop control.)
    2021-04-18 13:48:51下载
    积分:1
  • Dwwaavreade
    详细介绍了matlab中声声音录制、读写与播放的语句描述 (Described in detail the description of Matlab acoustic sound recording the statement, read and write and play)
    2012-07-22 22:23:11下载
    积分:1
  • RTW
    利用Matlab RTW实现控制系统的仿真,使用VC++6.0开发。(Achieved using Matlab RTW control system simulation, using VC++6.0 development.)
    2011-11-18 12:47:22下载
    积分:1
  • A-Comparison-of-Categorical-Attribute-Data
    clustering algorithm paper
    2014-11-09 09:43:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载