登录
首页 » Visual C++ » Archive

Archive

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

  • ctl_progress
    HERE is a smapmpke of my code
    2013-12-02 15:10:33下载
    积分:1
  • Matlab-test-CPP
    matlab调用C++程序,实现for循环加速。有详细步骤,供同学参考~谢谢!(call C++ matlab program to achieve for loop acceleration. There are detailed steps for students to reference ~ Thank you!)
    2013-12-17 10:21:41下载
    积分:1
  • matlab3
    利用matlab进行滑动平均法消除趋势项(Using matlab trend term moving average method to eliminate)
    2013-09-15 10:44:18下载
    积分:1
  • babu
    this is average filter .raw and .bmp file converter.
    2014-12-09 22:42:12下载
    积分:1
  • Magnavox-LCD-37mf437-37-chirping---Badcaps-Forums
    magnovox source code
    2015-01-07 05:33:03下载
    积分:1
  • SJGC
    matlab仿真,随机过程,泊松过程产生级仿真过程。(this is soft simulink and use matlab,so we can learn possion process and its how to produce.matlab is powerful soft for it.)
    2011-12-13 20:38:18下载
    积分:1
  • HaarPAdaBoost
    Haar+AdaBoost分类器训练总结(Haar+ AdaBoost classifier training summary)
    2015-04-07 10:03:20下载
    积分:1
  • grayscaltransform
    说明:  一个简单的色彩迁移程序,可以顺利的实现对灰度图像的上色,程序编译通过,有较好的效果(a simple relocation process color, the smooth realization of the right color to grayscale images, compiler, better results)
    2006-02-28 09:56:04下载
    积分:1
  • julei
    运用matlab语言编译,进行聚类分析,并且给出了matlab界面。(failed to translate)
    2011-05-17 19:33:55下载
    积分:1
  • hymxszmnrmzn
    黑油模型数值模拟入门指南 市场上有不少关于油藏数值模拟的书,但好像没有类似围棋入门指南那样从基础开始一步 一步介绍的书。我收到不下二十个问油藏数值模拟如何入门的问题。我尝试写一写油藏数值模拟 入门指南,希望对那些刚刚开始进入油藏数值模拟领域的工作者有所帮助(Numerical simulation of black oil model Start Guide on the market, many of reservoir simulation, but it seems there is no similar entry guidelines go as the beginning of step by step from basic introductory book. I have received no less than 20 reservoir simulation asked how the issue of entry. I try to write to write a reservoir simulation Start Guide, I hope for those just beginning to enter the field of reservoir simulation will help workers)
    2009-06-03 21:24:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载