登录
首页 » Visual C++ » Archive

Archive

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

  • 卡尔曼滤波仿真程序用于匀速运动的目标跟踪
    基于匀速直线运动下 进行卡尔曼滤波程序,包括仿真等,(Based on uniform linear motion under the Calman filtering procedures)
    2017-08-03 17:12:30下载
    积分:1
  • malloc
    ics 的malloc实现,采用分离存储,模拟memory的malloc和free等操作。(to realize the molloc and free operation, the lab of ics class)
    2014-01-09 10:36:34下载
    积分:1
  • chapter10
    matlab 中一些很用的代码,数值分析于应用。(matlab code, numerical analysis on the application.)
    2013-04-27 10:39:21下载
    积分:1
  • Digital_Audio
    实现数字音频效果的源程序,包含多速率信号处理的内插和抽取源程序。(realize the audio effect.inlude the function of multirate signal processing knowledge)
    2009-03-04 19:36:08下载
    积分:1
  • 1
    说明:  matlab中很实用的源代码1,例图图形转换、非线性变换等等(Practical source code of MATLAB)
    2015-04-20 16:21:16下载
    积分:1
  • matlab
    matlab函数汇总,包含大部分图像处理函数.(matlab function summary, including the majority of image processing functions.)
    2009-12-20 11:09:53下载
    积分: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
  • C_application_framework_achieve_classic_code
    C实现应用程序框架的经典代码C application framework to achieve the classic code(C application framework to achieve the classic code)
    2010-08-18 12:20:06下载
    积分:1
  • dizhengdao
    合成地震记录是用声波测井或垂直地震剖面资料经过人工合成转换成的地震记录(地震道) 合成记录的制作是一个简化的一维正演的过程,合成记录F(t)是地震子波S(t)与反射系数R(t)褶积的结果。(Synthetic seismogram is sonic or vertical seismic profile data after conversion into synthetic seismograms (seismic trace) the production of synthetic seismogram is a simplified one-dimensional forward modeling process, synthetic seismogram F (t) is the seismic wavelet S (t) and the reflection coefficient R (t) the convolution results.)
    2021-03-21 11:39:17下载
    积分:1
  • TimeZoneEditorSrc
    In mid-2003, someone in the Lounge asked for a list of time zones. I said that I had one, but the data was in a CodeBase/FoxBase file. Chris Maunder asked if I could retrieve that data and submit it to CodeProject. After procrastinating a few weeks, I decided to go ahead and not only extract the data, but to write a program to edit that data.
    2007-10-16 09:33:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载