-
一个C++类,可以添加
一个可以对任意长整数进行加减的类 在Visual C++6.0 WinXp下编译通过采用类来实现,从CString继承而来数据运算的结果保存在CString类中理论上可对任意长的数据进行相加在Release目录下有可执行文件,将*.txt拖放到longadd.exe上即可,*.txt为数据文件。-A C++ class which can do the Add-Substract operation to integer with arbitrary length.Compiled with VC++ 6.0 under Windows XP.The class inherited from CString and theoretically it can do add-substract to any length integer.There is a executive file under Release directory,drag the*.txt data file on to the longadd.exe,then it s ok!
- 2022-01-22 15:22:53下载
- 积分:1
-
选择法排序原理:一次选定数组中的每一个数,记下当前位置并假设它是从当前位置开始后面数中的最小数min=i,从这个数的下一个数开始扫描直到最后一个数,并记录下最小...
选择法排序原理:一次选定数组中的每一个数,记下当前位置并假设它是从当前位置开始后面数中的最小数min=i,从这个数的下一个数开始扫描直到最后一个数,并记录下最小数的位置min,扫描结束后如果min不等于i,说明假设错误,则交换min与i位置上数。-Selection sort works: each time the selected number of the array, note the current position and assume that it is behind a number starting from the current location of the minimum number min = i, from this number the number of start scanning the next one until the last one the number of , and record the location of the minimum number of min, after scanning, if min is not equal to i, instructions assume that the error, then the exchange of a few min and i position.
- 2022-08-07 23:09:54下载
- 积分:1
-
基于STM32的多功能PWM控制程序
基于STM32的多功能程序,包括多路PWM控制程序,LCD12864液晶屏显示程序,多路按键控制程序。
名称:PWM发生器
功能:LCD12864显示;4*4键盘输入;可以设定Timer1和Timer2的PWM发生周期以及各路输出的占空比
说明:
通讯方式: 4*4键盘扫描。键盘接PD0-PD7
12864液晶屏端口接线说明:
sbit CS_LCD=PC0; //数据口定义
sbit SDO_LCD=PC1;
sbit SCK_LCD=PC2;
1-VSS:接电源负极
2-VDD:接电源正极
3-Vo:接电源正极(使对比度最大)
4-RS(CS):串行的片选信号 PC0
5-R/W(SID): 并行的读写选择信号;串行的数据口 PC1
6-E(CLK):并行的使能信号;串行的同步时钟 PC2
15-PSB:并/串行接口选择:H-并行;L-串行 (接低电平)
定时器1输出:PA8; PA9; PA10; PA11; Channel 1N, 2N and 3N ---PB13; PB14; PB15
定时器2输出:PA0; PA1; PA2; PA3;
- 2022-02-13 06:17:47下载
- 积分:1
-
face detection 人脸识别代码
基于人脸的特征检测、人脸识别的源代码及相关的开源库。主要用于人脸发现、定位、识别和特征检测输出,在模式识别方面有较大的用途,不需要单独装opencv库,直接包括就可以了。
- 2022-11-16 19:30:02下载
- 积分:1
-
simulating small dog eating beans
模拟小狗吃豆的小程序-simulating small dog eating beans
- 2022-07-18 10:02:09下载
- 积分:1
-
该软件易于使用,并适用于所有群体,开发简单,功能强大的…
该软件使用方便,适用于各种人群 开发简单,功能强大 谢谢各位的支持使用-the software easy to use and apply to all groups to develop simple, powerful Thank you support the use of
- 2022-02-04 08:06:01下载
- 积分:1
-
半透明窗口,短小精悍,使用方便,操作简单!
半透明窗口,短小精悍,使用方便,操作简单!
-translucent window, small and easy to use, simple!
- 2023-01-31 21:25:04下载
- 积分:1
-
学习C++需要经典代码,现在传的是两个后面会继续传。
学习C++需要的经典代码,现在传的是2个后面会继续传。-Learning C++ Need classic code, Chuan is now two behind will continue to Chuan.
- 2022-03-05 03:35:22下载
- 积分:1
-
树的用法,初期的学习,新手要用的关于树的作用,方法
树的用法,初期的学习,新手要用的关于树的作用,方法-shu
- 2022-05-27 17:41:53下载
- 积分:1
-
哈希表的实现程序,可以自动从一篇TXT文件中扫描所有的单词,并为这些单词创建哈希表,来统计单词在文章中出现的次数。本程序采用线性探测再散列的方法处理冲突,支持打...
哈希表的实现程序,可以自动从一篇TXT文件中扫描所有的单词,并为这些单词创建哈希表,来统计单词在文章中出现的次数。本程序采用线性探测再散列的方法处理冲突,支持打印HASHLIST,可以很方便的看到单词在表中的位置,便于理解哈希表。-Hashtable realize procedure, you can automatically scan a TXT file all the words, and for these words create a hash table to statistical word appears in the article number. This procedure using a linear method to detect re-hash of dealing with conflict, to support the print HASHLIST, it is easy to see that word in the table location, easy to understand the hash table.
- 2022-07-03 20:42:16下载
- 积分:1