-
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
-
cchygl
会员管理软件会员管理软件会员管理软件会员管理软件会员管理软件(manager program 1234567893)
- 2009-12-10 08:19:35下载
- 积分:1
-
array
说明: 字符数组的建立与基本用法简单的介绍与演示(array)
- 2010-04-06 09:21:19下载
- 积分:1
-
IEEE30-node-flow-calculation
是IEEE30节点的电力系统潮流计算程序,附有详细说明,经过验证,程序结构简单易懂。(it is IEEE30 node flow calculation.It incliudes explation.And it has pass the test.It is very easy to understand.)
- 2014-05-08 20:35:34下载
- 积分:1
-
facerecognition
加州大学的MATLAB人脸识别代码,采用了图像结构模型,可以很好地识别人脸(University of California MATLAB code for face recognition, using the image structure model, can be a good face recognition)
- 2013-12-18 15:28:45下载
- 积分:1
-
testmatcom_mfc
matlab与vc联合编程实例
实现图形在vc中的显示(joint programming and matlab examples vc in vc in the realization of graphics display)
- 2007-11-23 20:02:42下载
- 积分:1
-
WuHanUniversity-matlab
武汉大学的matlab教程,内容简单,比较实用,适合初学者(Wuhan University of matlab tutorial is simple, more practical, suitable for beginners)
- 2011-08-14 17:28:36下载
- 积分:1
-
diedai
迭代法是基于逼近的思想,其步骤如下:
1. 求出图象的最大灰度值和最小灰度值,(Iterative method is based on the idea of approximation, the steps are as follows: 1. To derive the maximum gray value image and the minimum gray value,)
- 2008-03-24 18:58:09下载
- 积分:1
-
Digital-signal-processing
Digital signal processing(Digital signal processing program contains a variety of signal processing algorithms)
- 2013-05-20 10:39:15下载
- 积分:1
-
111
利用windows提供的API中GetSystemFirmwareTable function
读取SMBIOS中的信息(Use the API provided GetSystemFirmwareTable function windows
Read SMBIOS information)
- 2015-03-30 14:55:29下载
- 积分:1