登录
首页 » Visual C++ » Archive

Archive

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

  • Sonar_Exp_v2_CW
    声纳技术 常用水声信号及其处理方法 内容 CW信号(Commonly used in underwater acoustic signal processing method)
    2012-04-15 08:54:09下载
    积分:1
  • across
    遗传算法解决作业车间调度问题,这一M文件为遗传算子的交叉操作(Genetic algorithms to solve the job shop scheduling problem, the M-file for the genetic operators crossover operation)
    2015-04-15 15:14:06下载
    积分:1
  • FCT-MVP
    镇流器功能测试系统,采用WT1600功率计和研华PCL-1733/PCL-1734/NI GPIB卡进行控制(Ballast functional test system, using WT1600 power meter and Advantech PCL-1733/PCL-1734/NI GPIB card control)
    2014-05-17 23:26:22下载
    积分:1
  • MATLAB-c
    msk的调制解调MATLAB源代码,很不错,值得看看(msk modulation and demodulation MATLAB source code, very good, worth a look)
    2013-11-15 16:35:31下载
    积分:1
  • echo-cancellation
    利用lms算法,实现回波抵消,消除回声信道返回的噪声信号。(Least means squares (LMS algorithm, realize the echo offset, eliminate the noise signal back to the echo channel.)
    2011-12-14 15:37:08下载
    积分:1
  • lianbiao
    关于链表的实现例子很完美呵呵要的朋友请下哦!!!(With regard to the realization of the list is a perfect example of a friend to call on the next Hehe Oh! ! !)
    2009-12-28 12:51:26下载
    积分:1
  • chess
    一个计算机下国际象棋的功能,拥有完全的代码,由matlab编成的很多人工智能的函数,有详细的文档,直接运行chess.m文件(chess source)
    2010-01-04 12:01:14下载
    积分:1
  • kalman
    卡尔曼滤波的完整C++源代码,非常全,内含matlab相关的程序,使用时请结合具体状态方程。(Kalman filtering the complete source code, very full.)
    2013-07-31 15:19:22下载
    积分:1
  • VCandMatlab
    VC和Matlab混合编程总结 VC和Matlab混合编程总结(VC and Matlab programming concluding mixed mixed VC and Matlab programming summary)
    2008-04-20 22:44:07下载
    积分:1
  • power-flow
    基于matlab 电力系统潮流计算 牛顿拉夫逊法 采用极坐标运算 经过测试 运行良好(failed to translate)
    2013-05-06 00:58:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载