-
Archive
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.)
- 2013-12-18 15:14:46下载
- 积分:1
-
IMP-(1)
details of the books and communication.
- 2014-12-27 19:35:04下载
- 积分:1
-
CPP_
c++必备:c++ primer、clean code、effective c++(c++ primer、clean code、effective c++)
- 2015-02-04 15:22:17下载
- 积分:1
-
ni
说明: NI采集和产生信号代码NI采集和产生信号代码(NI acquisition and signal generated code )
- 2015-01-14 11:25:26下载
- 积分:1
-
buffertest
this ring buffer sample.
- 2006-09-06 11:49:48下载
- 积分:1
-
Irrlicht.net
The study documents the famous 3D engine for 3D developers learn to use.
- 2014-02-12 22:12:18下载
- 积分:1
-
c5ex
C.Primer.Plus 第五版 书中的源代码(C.Primer.Plus fifth edition of the book' s source code)
- 2010-05-11 12:48:13下载
- 积分:1
-
polyphase
这个是多相滤波的MATLAB程序,做接收机的同学可以参考的(this is a polyphase programme)
- 2013-11-06 20:01:53下载
- 积分:1
-
com
MSP430X44X系列的串口通讯操作完整程序(COM USED IN MSP430)
- 2009-07-17 17:22:41下载
- 积分:1
-
MyFFT_C_languiges
FFT算法C语言实现 和MATLAB中fft函数结果一样的功能(FFT algorithm C language and MATLAB fft function results in the same function)
- 2013-11-23 20:49:38下载
- 积分:1