登录
首页 » Visual C++ » Archive

Archive

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

  • DBSCANClusteringAlgorithm
    说明:  聚类算法MATLAB程序实现,聚类(Cluster)分析是由若干模式(Pattern)组成的,通常,模式是一个度量(Measurement)的向量,或者是多维空间中的一个点。聚类分析以相似性为基础,在一个聚类中的模式之间比不在同一聚类中的模式之间具有更多的相似性。(DBSCAN_Clustering Algorithm)
    2010-03-23 16:51:41下载
    积分:1
  • change
    读取字符串,统一转换成小写后,删除相同的字符(Read the string converted to lower case after the reunification, delete the same character)
    2010-01-26 15:06:30下载
    积分:1
  • Monte-Carlo-method
    基于蒙特卡罗方法的试卷难度分布研究,Monte Carlo method based on the difficulty of distribution of papers(Monte Carlo method based on the difficulty of distribution of papers)
    2013-09-11 08:03:26下载
    积分:1
  • EnumerateAudioCaptureFilterCapabilities
    audio card enumerate searching ok. for multimedia developing project. thank you
    2014-01-08 17:50:46下载
    积分:1
  • MatlabchangeintoC
    将Matlab复杂语言转化成C语言开发,并且将转化的语言进行进一步的优化(To change Matlab into C,and make the change more super and simply)
    2009-03-10 10:01:02下载
    积分:1
  • xindian
    基于MATLAB的心电信号的分析与处理设计(Ecg signal analysis and processing design based on MATLAB)
    2014-09-02 17:55:32下载
    积分:1
  • Havel
    这是图论里面的一个定理,即Havel定理,它是用来判断一系列的度的序列能否组成一个简单图,在这儿我实现了它。(This is the inside of a theorem of graph theory, that Havel theorem, which is used to determine whether a series of sequences degrees to form a simple graph, here I realized it.)
    2014-02-25 16:22:50下载
    积分:1
  • SeismoSignal-v4.3.0_build101---
    将加速度积分成速度位移,并且滤波,很好用(Displacement velocity integral of the acceleration and filtering, the good)
    2020-11-11 16:29:44下载
    积分:1
  • reciveqmf
    reciver of qutature mirror filter
    2010-03-02 16:48:46下载
    积分:1
  • matlabtools
    介绍了MATLAB工具中的数学工具,是你用MABLAB开发时必不可少的参考书籍啊。(MATLAB tools introduced in the mathematical tools, is when you develop MABLAB indispensable reference books ah.)
    2007-11-12 22:21:01下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载