登录
首页 » Visual C++ » Archive

Archive

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

  • fanban
    c++ and matlab 散射电流可视化、球体1 (Scattering current visualization, sphere1 c++ and matlab )
    2012-03-30 11:19:33下载
    积分:1
  • wireless-channel-models
    各种系统(lte和wimax等)使用的典型信道模型(wireless channel model design)
    2015-03-22 20:59:07下载
    积分:1
  • DDS-programmed-in-matlab
    用matlab实现dds,并进行相关参数分析(Using matlab to achieve dds)
    2014-08-30 11:27:00下载
    积分:1
  • 2Dmath
    2D math algorithm library to manipulate 2D vectors and matrix
    2014-10-09 14:16:14下载
    积分:1
  • alphafx
    An article with code on how to create the Alpha effect (fading in and out effect). Starts with the application of alpha on images, and ends with the creation of alpha animation. This is NOT about the Per Pixel Alpha Blend used in Windows. (An article with code on how to create the Alpha effect (fading in and out effect). Starts with the application of alpha on images, and ends with the creation of alpha animation. This is NOT about the Per Pixel Alpha Blend used in Windows. )
    2014-09-28 20:19:09下载
    积分:1
  • MatlabCMathLibrary
    Matlab C++数学库.Matlab C语言接口、如何生成可独立运行的Matlab程序、在Visual C++中调用Matlab程序、Matcom.(Matlab C++ Math Library)
    2010-01-16 09:07:51下载
    积分:1
  • YJ12
    MATlab工具箱的多元优化求解问题,自己进行了一点更改,希望能够好用(MATlab optimization toolbox to solve diverse problems, themselves a little change in the hope of easy to use)
    2011-11-30 12:17:22下载
    积分:1
  • goldbach
    问题描述: 哥德巴赫猜想:任何大偶数均可表示为2 个素数之和。(Problem Description: Goldbach conjecture: any large even number can be expressed as two Primes.)
    2008-05-05 22:11:30下载
    积分:1
  • ssssssss
    显得无聊自己做的一段代码显得无聊自己做的一段代码(ssssssssssssssssssssssssss)
    2009-12-04 16:05:24下载
    积分:1
  • LE
    说明:  计算时滞微分方程的李雅普诺夫指数,动力学维数(Delay differential equations Lyapunov index calculation, dynamic dimension)
    2015-04-20 09:11:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载