登录
首页 » Visual C++ » Archive

Archive

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

  • VC_read_mat_file
    说明:  在vc++环境下读取matlab数据文件*.mat(read mat file in vc++)
    2009-07-23 09:53:27下载
    积分:1
  • kalman-flitering-(CPP_C_MATLAB)
    卡尔曼滤波简介及其算法实现代码C++_C_MATLAB(kalman flitering)
    2012-05-24 16:02:07下载
    积分:1
  • HuffmanCode111
    哈夫曼编码解码器,在matlab环境下实现的编码解码,希望对大家有用(Huffman codec in matlab environment to achieve the encoding and decoding, we hope to be useful)
    2010-12-08 14:08:55下载
    积分:1
  • erode
    morphological operation such as erosion is very suitable to compress the size of the cell by using SE.
    2011-05-03 19:03:00下载
    积分:1
  • c-juanji--conv
    求局部最小值与卷积,lmax为MATLAB的历程 工程里是具体的c函数(Find local minimum and convolution, lmax for the project in the history of MATLAB is the specific function of c)
    2010-11-23 20:00:41下载
    积分:1
  • code
    converted ga matlab code to c++ for solving scheduling problem
    2014-10-24 16:00:10下载
    积分:1
  • fuzzydll
    模糊pid有效的对控制对象进行了控制,减少超调和响应时间(fuzzy PID control)
    2012-06-18 14:30:31下载
    积分:1
  • nginx-1.0.14
    nginx 1.0.14版本源代码windows编译宏已经加了(nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx nginx )
    2015-03-30 22:36:56下载
    积分:1
  • MProojectPlanO
    MODTRAN MATLAB 结结合使用且能移植到Visual C (The MODTRAN MATLAB Junction combined with use and can be ported to Visual C)
    2012-09-15 14:49:54下载
    积分:1
  • The-CPP-Programming-Language--Third-Edition
    Fantastically a good book on C++
    2015-01-10 01:46:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载