登录
首页 » Visual C++ » Archive

Archive

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

  • PingOriginal_MikeMuuss_1983
    Ping original program. implement pinging test
    2014-10-10 12:33:30下载
    积分:1
  • MATLAB7.0
    一个关于matlab的教程,对于初学者来说是非常有用的(A tutorial on matlab for beginners is very useful)
    2011-06-26 12:50:02下载
    积分:1
  • GLMetaseq.c
    让ARToolKit支持MQO模型所需的所有函数实现代码,均在对应的GLMetaseq.c中。(Let ARToolKit supports all the functions needed to MQO model codes, both in the corresponding GLMetaseq.c.)
    2014-02-09 23:12:05下载
    积分:1
  • boermanlvbo
    自己编写的一个卡尔曼滤波c++源程序代码,可以借鉴学习(My writing of a kalman filter c++ source code that can be drawn lessons from learning )
    2012-04-21 19:24:33下载
    积分:1
  • Sidelobe-Canceller--MSE-
    阵列信号处理中自适应波束优化准则之一ASC旁瓣相消 MSE准则(Array Signal Processing ASC adaptive beam sidelobe canceller MSE criterion of optimization criteria)
    2015-04-17 15:32:23下载
    积分:1
  • datag
    这是一个简单的数据生成器,可以生成0到1之间的n维数据(This is a simple data generator can generate 0 to 1 between the n-dimensional data)
    2009-12-06 20:13:19下载
    积分:1
  • m
    说明:  matlab圆柱投影的代码,辛苦管理员了,初学者,求教啊(Matlab code of cylindrical projection, hard administrator, beginners, for advice )
    2015-10-10 19:57:20下载
    积分:1
  • matCUDA_User_Guide_0.1
    CUDA的MATLAB加速用户使用说明,帮助学习MATLAB的PCT(matCUDA for MATLAB PCT)
    2015-03-27 11:35:13下载
    积分:1
  • matlab-utility-functions-summary
    MATLAB工具函数汇总。对参加数学建模用MATLAB写程序很有帮助(matlab utility functions summary。)
    2014-09-11 11:45:50下载
    积分:1
  • StringEdit_Demo
    I have often found that user input edit boxes on a dialog require much more than the capabilities provided by the basic CEdit control. A common problem I have encountered is the need for an edit control that restricts the characters that can be entered into the box in some manner. Some types of restrictions would include confining input to a specific set if legal characters, excluding characters in an illegal set, limiting text to a maximum length and providing for fixed length strings that may be padded to the right with spaces if they are too short.
    2007-08-29 13:38:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载