-
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
-
128X64
51单片机开发仿真图,有图有真相,不相信就自己看,很好的,不骗你(happy new year)
- 2013-06-06 17:22:47下载
- 积分:1
-
00163597urg-0.8.18
雷达数据采集,日本urg-0.8包,采集2D数据,将雷达测出的长度信号转换成图形数据显示,库包里有C库以及c++库。((Radar data acquisition, Japan urg 0.8 package, 2 d data, the radar to measure the length of the signal into graphic data shows that there are C library and the library of C++ library package.))
- 2018-03-12 15:52:58下载
- 积分:1
-
ModbusTCP 连接、写入、读取
C#基于NModbus实现MODBUSTCP字符串、浮点数读写 (Winform与WPF界面)
- 2020-12-12下载
- 积分:1
-
ADC_PEC
英飞凌单片机使用pec中断的ad转换实例完整版(Infineon microcontroller interrupt the ad conversion using pec)
- 2021-03-25 13:59:14下载
- 积分:1
-
TMS320F2812_XNMI_XINT13
该源码讲解了DSP2812的中断使用方法。(The source explained the DSP2812 interrupt use.)
- 2010-10-06 12:05:42下载
- 积分:1
-
USART1接发
说明: 实现串口1接受发送功能,接受和发送的波特率均为115200.使用多种接受发送模式,有自定义函数接受发送,有映射到C语言的printf发送数据,和scanf函数的映射接受字符串的功能。(make the usart1 work in stm32f103zet6,the program can make the urat receive the data at the boudrate 115200 ,send the data use the "printf" in C lib.)
- 2019-11-16 23:33:39下载
- 积分:1
-
mid c# is a development tool, download to look at the absolute handy!
mid是一个c#的开发工具,下载来看看,绝对好用!-mid c# is a development tool, download to look at the absolute handy!
- 2022-06-12 21:53:28下载
- 积分:1
-
dol-plugin-0.1-src
IDA反汇编器DOL加载器插件源码,编译需要IDA SDK(IDA disassembler DOL loader plug-in source code, the compiler needs IDA SDK)
- 2011-09-16 14:48:22下载
- 积分:1
-
tripple_matrix
用三元组建立两个矩阵a,b,将a矩阵转置,,然后将转置后的a矩阵与b矩阵相乘,存储到c三元组中,,输出a,b,c矩阵(Create a matrix with two triplets, b, to a matrix transpose, and the transposed matrix of a matrix multiplication with b, c triples stored in the output a, b, c matrix)
- 2013-11-25 09:08:05下载
- 积分:1