登录
首页 » Visual C++ » Archive

Archive

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

  • Desktop
    室内环境射线跟踪算法研究,这是对室内环境建模(Indoor Environment Research ray tracing algorithm, which is modeled on the indoor environment)
    2014-02-23 20:57:04下载
    积分:1
  • DLLTest200
    DLLTest200.rar,动态库的程序,写的简单易懂,可以参考(DLLTest200.rar,special for dll)
    2013-12-15 12:23:18下载
    积分:1
  • SDT-Cleaner-v1.0---Stable-Version
    用于检测SDT和恢复SDT的例子代码,可用于ARK中的系统钩子扫描(Example of code that can be used for detection to SDT and recovery of SDT ARK system hook scan)
    2013-01-14 22:06:20下载
    积分:1
  • Chaos-power-load-forecasting
    说明:  电力负荷的混沌预测方法 电力负荷的方法很多~~本文是基于混沌(Chaos power load forecasting method)
    2011-04-06 13:37:26下载
    积分:1
  • qstoolbox
    该代码为排队论工具.用于MM1,MG1等模型. (code for the queuing theory tools. For MM1, genotoxicity and other models.)
    2007-01-16 19:53:20下载
    积分:1
  • radar_system_guide
    雷达系统导论,第三版 美国 斯科尔尼克 第三版 完整版(Introduction to radar systems, the third edition of the American Skolnick v3 full version)
    2013-03-31 16:23:32下载
    积分:1
  • mhuffmana
    matlab程序,完成hufffman编解码的功能 (matlab program to complete the hufffman codec function)
    2012-08-07 01:41:18下载
    积分:1
  • Tflmsziph
    该程序用matlab实现FLLMS算法,并绘出了收敛曲线。 (The program using matlab achieve FLLMS algorithms, and plot the convergence curve.)
    2012-07-26 15:40:34下载
    积分:1
  • stm32_eval
    OMAP_MUX_MODE7 | AM33XX_PULL_ENBL | AM33XX_PULL_UP| AM33XX_PIN_OUTPUT
    2013-12-30 17:07:45下载
    积分:1
  • OutputText
    OutputText.rar例子,关于txt输出,注释的特别详细(OutputText,special for txt)
    2013-12-10 10:14:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载