登录
首页 » Visual C++ » Archive

Archive

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

  • MATLAB
    用 MATLAB控制摄像头读取图像 可以实现拍照功能(just do it)
    2012-04-18 10:16:15下载
    积分:1
  • vc++matlab
    vc++与matlab混合编程的快速实现 (vc++ with matlab the rapid realization of mixed programming)
    2008-01-05 08:43:38下载
    积分: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
  • MATLAB-7.X
    matlab7.X程序开发以及matlab编程学习(matlab7.X program development and learning matlab programming)
    2013-10-29 08:54:49下载
    积分:1
  • matlabengine
    vc++调用matlab,利用matlab引擎(vc++ call matlab, using matlab engine)
    2008-05-26 20:55:00下载
    积分:1
  • rms-model
    响应面法matlaB程序,大家可以下载。(RMS code)
    2013-11-14 10:55:13下载
    积分:1
  • camshiftmatlab
    camshift算法matlab版,挺不错的源代码程序,有助于大家相互学习讨论(camshift algorithm matlab version, very good program source code to help everyone learn from each other to discuss)
    2008-03-07 16:03:52下载
    积分:1
  • Digital-filter-written-in-C-
    用C编写的数字滤波器源程序,里面包含数字滤波器原理及相关设计文档(Digital filter written in C source code, which includes a digital filter design principles and related documents)
    2014-12-08 11:29:55下载
    积分:1
  • SmartPointerLove_src
    说明:  这是一个小巧的指针类.在这里提供了两个主类CountedPtr和BackPtr,可以使用在任何环境中(This is a small target category. Here the two main categories CountedPtr BackPtr and can be used in any environment)
    2005-10-10 10:05:14下载
    积分:1
  • tabuveh2661622
    this is a new alghorithm about tabu search....
    2013-05-26 16:48:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载