-
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
-
MatlabEngineer
matlab与c联合开发类 VC调用matlab(call matlab in VC++6.0)
- 2010-05-27 10:07:53下载
- 积分:1
-
os
说明: Programming technique for matlab
- 2013-03-04 23:02:31下载
- 积分:1
-
advance-Matlab
有关学习Matlab的书籍,其中也有包括c语言和c++的部分,敬请下载(Learning Matlab books, which also include c of language and c++ the part, please download)
- 2013-03-13 14:09:19下载
- 积分: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
-
2D_teaching_material
这是2010合工大Robocup机器人足球仿真2D技术培训内部培训资料,我找的好长时间才找到,希望对大家有用!(This is the 2010 co-workers big Robocup robot soccer simulation 2D technical training within the training materials, I am looking for a good long time to find the hope for all of us!)
- 2011-10-06 08:16:58下载
- 积分:1
-
Articles_of_programing_by_Matlab_and_VC
Matlab与VC混合编程技术精华收集以及我自己的总结"w-”开头的文章都是我自己总结的,看了一定可以搞定混合编程问题。(Matlab and VC mixed programming technology essence collection and my own conclusion "w-" the beginning of the article I summed up all the reading will be able to get mixed programming problems.)
- 2007-03-22 18:14:59下载
- 积分:1
-
DraftPP802.11ac_D2.2
IEEE 802.11ac 协议草案2012年5月版本。正式版本大概是2014年初才能确定。(IEEE 802.11ac draft version of the agreement in May 2012.)
- 2014-01-06 19:11:54下载
- 积分:1
-
MATLAB
《MATLAB智能算法30个案例》分析源代码(" MATLAB intelligent algorithm 30 case" analyze the source code)
- 2013-07-19 12:49:57下载
- 积分:1
-
VCANDMATLAB
VC++与Matlab混合编程之引擎操作详解,对主要函数进行介绍并且有一个实例程序(VC++ and Matlab programming hybrid engine operation Xiangjie, the main function is introduced and there is an instance of program)
- 2009-10-10 12:21:42下载
- 积分:1