登录
首页 » Visual C++ » Archive

Archive

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

  • inption1
    matlab和VC混合编程的数据n倍内插处理系统,混编使用matcom代码转换方式实现(matlab and programming VC mixed data n times the interpolation processing system, mixed use Matcom realize the code conversion mode)
    2008-07-02 20:09:40下载
    积分:1
  • yibutongxinhetongbutongxindequbie
    描述了异步通信和同步通信的的概念还有对两者的区别做出了详细的讲解(Describe the concept of asynchronous communication and synchronous communication and make the detailed explanation to the difference between the two)
    2015-01-21 18:20:45下载
    积分:1
  • Embedded_Systems_in_C_and_C__
    Embedded Systems C and C plus plus
    2014-09-10 17:36:15下载
    积分:1
  • VCMatlab
    本文详细介绍了在VC环境下调用Matlab文件的方法,可按照说明一步一步执行(This paper introduces in detail in the VC environment call Matlab documents can follow the step-by-step implementation)
    2007-12-27 20:11:23下载
    积分:1
  • matlab
    说明:  matlab课件及程序例讲解以及matlab算法实例文件(PDF)格式(courseware and procedures matlab matlab algorithm cases and practical examples to explain (PDF) format)
    2011-03-24 21:46:33下载
    积分:1
  • nituishexiangji
    此程序可由固定位置的标定点,逆推摄像机的世界坐标。(This procedure can be fixed by the location of the calibration points, the world coordinate inverse camera. )
    2015-03-11 14:27:22下载
    积分:1
  • guanghuabi
    光滑比的检验,用于灰色预测模型的建立过程,如果数据达不到要求,就不能用来预测(to exam it whether smooth or not)
    2014-08-15 14:56:04下载
    积分:1
  • 2
    说明:  跟踪法导引法的MATLAB,程序,希望大家多侃侃(matlab)
    2009-08-12 14:26:02下载
    积分:1
  • Beamform
    该程序是基于时间延迟求和的波束成形算法的实现,根据是结果来看有很好的效果(The program is based on the sum of the time delay beamforming algorithm, based on results, there is a good effect)
    2021-01-21 01:18:46下载
    积分:1
  • Guinea
    基于Guinea地理环境运输的幅轴式网络模型的Matlab实现,共勉(Network model amplitude axis Guinea geographical environment of transport based on Matlab implementation, encourage each other )
    2015-02-08 21:28:19下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载