-
Assignment6
Bjarne Stroustrup的课后练习
1. Stroustrup, Chapter 17, Questions 11 and 13, Page 624–625.
2. Stroustrup, Chapter 19, Question 4, Page 709.(1. Stroustrup, Chapter 17, Questions 11 and 13, Page 624–625.
2. Stroustrup, Chapter 19, Question 4, Page 709.)
- 2015-04-06 07:42:57下载
- 积分:1
-
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
-
decode_ldpc
ldpc译码算法 实现ldpc的译码 20个字(ldpc the)
- 2013-11-18 21:07:58下载
- 积分:1
-
nandajiangyi
小波变换 小波变换 小波变换 小波变换水印嵌入算法(walet)
- 2011-01-01 13:20:06下载
- 积分:1
-
friendtest4
有关友元函数,对于初学者是一个非常不错参考例子(friend
)
- 2009-11-30 19:36:03下载
- 积分:1
-
txinndaooh
本文使用Matlab及Simulink软件源码包对cdma20000的前向业务信道进行时间流与数据流仿真,并对仿真结果进行了对比分析。
(This article uses the Matlab and Simulink software source code packages on cdma20000 the first time flow and data flow simulation, and simulation results were compared to the traffic channel.)
- 2012-06-24 23:09:50下载
- 积分:1
-
VC++MATLAB
VC++与MATLAB混合编程及其应用
摘 要 本文详述了在VC++6.0编译环境下如何利用Matlab来实现应用系统的设计和分析,介绍了通过Matlab与VC应用程序连接的常用方法,分析了VC与Matlab的混合编程的步骤,最后通过一个具体实例的实现过程对上述方法进行了应用性介绍。
()
- 2007-07-26 16:45:47下载
- 积分:1
-
matlab-code-of-sr
运用matlab仿真随机共振 。哪有那么多的说明(failed to translate)
- 2013-05-03 07:58:48下载
- 积分:1
-
sieve-plate-distillation-column
筛板精馏塔的操作与塔效率的测定,经过改良源代码(sieve plate distillation column)
- 2012-11-24 01:32:29下载
- 积分:1
-
gos
matlab 二维高斯椒盐噪声去噪 基于小波变换的图像去噪滤波(matlab )
- 2010-08-21 10:14:32下载
- 积分:1