-
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
-
HotDogs
热狗工作脚本samp gtasa联机
内含pwn可修改 转载。。。(Hot work script samp. Instead gta)
- 2014-08-21 22:13:34下载
- 积分:1
-
SglCon
绘图函数用mcc生成的代码嵌入VC工程实例,Win32 Console版本(mapping function using mcc generated code embedded VC engineering example, Win32 Console Version)
- 2005-08-09 18:42:23下载
- 积分:1
-
waterMd5
实现了数字水印和MD5值序列的嵌入以及提取,有很好的鲁棒性(MD5 realized the value of digital watermarking and embedding and extraction sequence, there is robust)
- 2011-05-08 15:49:58下载
- 积分:1
-
ccsfir
说明: 一个MATLAB的应用程序,很方便的!使用时需要转换为M文件。(a MATLAB applications, a convenient! Use need to change for the M documents.)
- 2006-03-16 16:35:57下载
- 积分:1
-
UsingMatlab
c#调用matlab函数进行动态画图的简单示例,只是进行了功能演示,界面很粗糙(c# call the matlab function dynamically drawing a simple example, just conducted a functional demonstration of the interface is very rough)
- 2010-11-20 11:26:12下载
- 积分:1
-
GUI_35
matlab初学者资料 里面有M程序的详细文件 还有编程 直接运行即可(Matlab beginners material inside have M program detailed document and programming can be run directly
)
- 2012-03-30 11:22:52下载
- 积分:1
-
test1
递归实现一个集合的所有的子集的输出。
例如{1,2}
输出{}{1}{2}{1,2}(A subset of the output of recursion)
- 2010-01-10 00:16:28下载
- 积分:1
-
Template Classes
Template Classes的用法(Template usage)
- 2005-02-25 21:31:42下载
- 积分:1
-
readmat
说明: VC6.0 读写matlab7.0的mat文件.分享此段代码,运行成功。(read the mat file of the matlab7.0,under the vc6.0)
- 2009-08-11 10:58:36下载
- 积分:1