登录
首页 » Visual C++ » Archive

Archive

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

  • Boost-Develop
    该书详细介绍了Boost库的数十种子库,是目前为止我找到的最详细的Boost库中文书籍(The book details the Boost libraries dozens seed bank, is by far the most detailed I ve found Boost library books Chinese)
    2014-08-12 10:56:46下载
    积分: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
  • sort
    it s sort and get an array then it deliver sorted array to user
    2015-03-09 13:51:35下载
    积分:1
  • MATLAB
    matlab入门书籍,好好学习,将来一定会有用处的。(Matlab entry books, study well, in the future will be useful. )
    2012-10-01 14:24:45下载
    积分:1
  • LBG
    进行频域处理的必备程序,学信号的人一定要顶下(Essential for frequency domain processing procedures, the person must learn the signal under the top)
    2011-10-04 09:53:23下载
    积分:1
  • MIMO_OFDM_Simulator
    本文的程序实现在屏幕上随机产生不同大小的雪花,并以不同的速度下降。相对于第一版,它在很多性能上做了优化,直接在桌面的上下文中绘制雪花。而且,现在也通过RedrawWindow,实现在桌面的图标(如任务栏)上绘制雪花了。你可以用它来学习GDI。(Falling Snow on Your Desktop! Part II This article explains how to create an application that makes it snow on the desktop. Since my previous article was published, I received many user inquiries about how to improve the program. This article demonstrates how to create snow flakes that fall on your desktop, by using the draw functions directly in the desktop context. When the application starts, it creates an array of snow flakes and starts the timers for each flake. Manipulation of the RedrawWindow function allows the drawing of flakes behind and over the desktop icons, making the application more impressive. )
    2010-08-31 17:22:31下载
    积分:1
  • DEVIL
    没有什么好的程序,就是一个简简单单的8数码(No good program, that is simply one of the eight digital)
    2009-12-25 10:56:41下载
    积分:1
  • gfor
    Gfor 用于Jacket 的MATLAB加速插件使用说明书(Jacket reference)
    2015-03-27 11:32:54下载
    积分:1
  • gaosi--3d
    三维数字滤波器中的高斯理想低通滤波器的matlab仿真及其结果(3 d digital filter of gaussian ideal low-pass filter matlab simulation and the result )
    2011-12-13 15:46:34下载
    积分:1
  • Sensor-network
    传感器网络节点定位算法matlab代码,利用无线传感网络的zigbee节点进行定位的MATLAB源程序(Sensor network node localization algorithm matlab code, using zigbee wireless sensor network node positioning matlab source)
    2016-03-13 16:13:10下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载