登录
首页 » Visual C++ » Archive

Archive

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

  • public
    Base64编码说明 Base64编码要求把3个8位字节(3*8=24)转化为4个6位的字节(4*6=24),之后在6位的前面补两个0,形成8位一个字节的形式。 如果剩下的字符不...(Base64-encoded instructions require the Base64 encoding three 8-bit bytes (3* 8 = 24) was converted to 4 6 bytes (4* 6 = 24), then in front of the two s complement 6 0, 8 is formed bits in a byte form. If the rest of the characters do not ...)
    2015-03-18 17:44:08下载
    积分:1
  • myVAD
    calculate a voice detection.also one can calculate the frequency of his/her voice.
    2009-11-17 00:16:38下载
    积分:1
  • stransform
    s变换的C程序,简便实用,很容易读懂和理解,对于初学者来说,是掌握S变换的良好实例。(s transformation of C procedures, simple and practical, it is easy to read and understand for beginners, it is to master a good example of S transform.)
    2009-07-13 21:18:14下载
    积分:1
  • 2.1
    噪声信号中正弦信号的现代法频谱分析,在不同周期不同长度和不同信噪比下的结果(Sinusoidal signal in noise spectrum analysis of modern law, in different periods of different lengths and different signal to noise ratio results)
    2011-11-23 10:23:18下载
    积分:1
  • Chapter8
    MATLAB混合编程想把matlab强大的功能用在自己的工程实践中吗这是本不错的混合编程的书(Hybrid Programming MATLAB want matlab powerful in their own practice, it works this is a mixture of good programming book)
    2009-01-02 11:22:02下载
    积分:1
  • houghbianhuan
    hough变换,matlab编程。Hough变换是一种使用表决原理的参数估计技术。其原理是利用图像空间和Hough参数空间的点-线对偶性,把图像空间中的检测问题转换到参数空间。通过在参数空间里进行简单的累加统计,然后在Hough参数空间寻找累加器峰值的方法检测直线。(hough transform, matlab programming. Hough transform is a vote on the principle of using a parameter estimation techniques. The principle is the point of the image space using the Hough parameter space and line- duality converting the detection problem in the image space to the parameter space. By a simple statistical accumulated in the parameter space, and then in the Hough parameter space to find a method of detecting the peak accumulator line.)
    2014-08-27 10:37:38下载
    积分:1
  • voiceRecognitionSX
    这是一个基于DTW的语音识别算法,由matlab实现,相信对大家有帮助。(This is a DTW-based speech recognition algorithm by matlab to achieve, I believe that everyone has to help.)
    2013-11-18 16:14:02下载
    积分:1
  • cvx
    这是斯坦福大学的教授研制的软件,中国现在学习用的很广的工具,我给出的是相关的资料文章。(This is a professor at Stanford University, developed software, China is now very widely used learning tools, I give the relevant information in the article.)
    2014-11-30 12:23:40下载
    积分:1
  • pic_dc-ac_01
    hex file for 16f509 microcontroller for dc ac inverter
    2013-12-24 03:38:03下载
    积分:1
  • yichuansuanfa
    说明:  遗传算法进行线性规划优化,可用于多个方面(Linear programming optimization of genetic algorithm can be used in many areas)
    2011-04-06 21:27:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载