登录
首页 » Visual C++ » Archive

Archive

于 2013-12-18 发布 文件大小:1KB
0 246
下载积分: 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-H
    matlab处理图像代码,很不错,值得看看(matlab image processing code, very good, worth a look)
    2013-11-15 16:45:28下载
    积分:1
  • mexDDGrab
    matlab 可以调用的动态视频代码;matlab 可调用的动态视频代码;matlab 可以调用的动态视频代码(matlab for video dll;matlab for video dll;matlab for video dll)
    2012-03-24 10:47:38下载
    积分:1
  • jrbdwkxz
    matlab processing and realization of the voice, very useful
    2013-11-24 11:19:12下载
    积分:1
  • os
    说明:  Programming technique for matlab
    2013-03-04 23:02:31下载
    积分:1
  • strapdown
    LM算法的MATLAB实现。Levenberg-Marquardt算法是最优化算法中的一种。最优化是寻找使得函数值最小的参数向量。(LM algorithm in MATLAB. Levenberg-Marquardt algorithm is an optimization algorithm. Optimization is to find the minimum value makes the function parameter vector.)
    2013-11-09 22:28:19下载
    积分:1
  • antparset
    Spatial Channel model examples
    2014-11-18 14:17:41下载
    积分:1
  • HDB3
    生成一个随机序列,然后对其进行HDB3编码,最后对其解码,显示出来(Generating a random sequence, then subjected HDB3 encoding, and finally decodes, displayed)
    2015-04-02 14:05:00下载
    积分:1
  • Heed-matlab.m
    HEED的分簇算法的matlab代码,注释详细,对初学WSN协议的同学很大帮助。(HEED clustering algorithm matlab code, detailed notes for the students of great help beginners WSN protocol)
    2014-01-20 17:18:56下载
    积分:1
  • knn
    lassification som reseau
    2012-03-27 11:13:29下载
    积分:1
  • segment_new
    C++ implementation of Local Self Similarity. shi xian tu xiang de rong
    2014-10-12 02:09:50下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载