-
C++ Progarms-Baisc
C++ programs for students
- 2020-06-25 19:00:01下载
- 积分:1
-
51黑论坛_温控风扇改进PWM
恒温控制单片机系统C程序,对系统的温度进行采集,然后进行PID运算后控制输出,保持恒温状态(thermostat control procedures SCM System C, the temperature of the system for the collection, then PID algorithms to control the output to maintain constant temperature condition)
- 2020-06-25 18:20:02下载
- 积分:1
-
30个c#入门小程序源码
可以快速的学习熟悉掌握c#入门
30个c#入门小程序源码
可以快速的学习熟悉掌握c#入门-30 c# entry applet source familiar with the study can quickly grasp c# Getting Started
- 2022-04-21 08:43:24下载
- 积分:1
-
有N个整数,算出任意多个数相加等于N+1,有多少种可能?
应用背景
例:n = 19
19个整数即:1-19
每个数字在 同一个算式中只能出现一次;
如:
1+19
1+2+17
1+2+3+14
1+2+3+4+10
.....
关键技术{num属于自然数 并且小于n}(0在集合中不算自然数)
然后 找出全部2个相加等于n的
例如 n=19 19=1+18 19=2+17.....19=9+10 其实两个数相加等于19的就只有19/2个
由此可见 三个相加 的只有 19/3个
那么拆两位数其中一个分解下 就是三位数的
第一个18-1不可以 因为有1了已经 那么试试-2 就得到了19=1+16+2
然后一直到 你找到了6个三个数字构成的
然后继续找 四个的
- 2022-04-08 03:13:24下载
- 积分:1
-
pulse_width
在keil编辑环境下完成了等精度脉冲宽度(时间间隔)的测量,该程序的硬件平台是用at89C52单片机和CPLD(epm7128slc84)以及液晶组成(The keil completed the editing environment such as precision pulse width (time interval) measurements, the program' s hardware platform is at89C52 MCU and CPLD (epm7128slc84), as well as liquid crystal composition)
- 2010-01-27 14:09:12下载
- 积分:1
-
PS2Key
普通PC键盘作为输入设备与单片机串行连接,通过单片机解码PS2键盘,七段数码管显示按下的键值,是把键盘作为输入扩展的不错的例程,源码采用KEIL C编写。(keyboard input)
- 2013-09-01 20:43:44下载
- 积分:1
-
作业
本题编写程序模拟人进行连连看游戏,电脑模拟人玩连连看的过程如下:
1、分析本局游戏,将本局游戏转化成一个二位数组。0表示空白区域,数字表示该游戏牌为出现在游戏中的第几类游戏牌。
2、利用广度优先搜索算法,判断两个游戏牌是否可以消除。
3、程序模拟人点击可以消除的一对游戏牌进行消除。
对某局游戏转化成二维数组如下:
0 0 0 0 0
0 1 2 0 0
0 0 3 4 0
0 0 0 1 0
输入二位数组的行、列,二位数组、起始元素的的坐标、终止元素的坐标,判断起始游戏牌和终止游戏牌是否可以消除。
对上例输入
4 5
0 0 0 0 0 0 1 2 0 0 0 0 3 4 0 0 0 0 1 0
1 1
3 3
输出 TRUE(The writing program simulates the game, and the computer simulates the process of watching the game as follows:
1. Analyze the game and convert the game into a two - bit array. 0 is the blank area, the number indicates that the game card is the number of game cards that appear in the game.
2. Use the breadth first search algorithm to judge whether the two game cards can be eliminated.
3, the program simulates a pair of game cards that can be eliminated by clicking.
A game of a game is transformed into a two-dimensional array as follows:
00000
01200
00340
00010
Input the row and column of the two bit array, the coordinates of two bit array, the initial element, and the coordinates of the termination elements, so as to determine whether the initial game card and the ending game card can be eliminated.
For example input
45
0000001200 0034000010
11
33
Output TRUE)
- 2017-12-17 16:01:15下载
- 积分:1
-
将深度图和彩图转换成点云 ConsoleApplication
说明: 将深度图和彩图转换成点云,自行修改文件名字和路径。(Convert the depth map and color map to point cloud, and modify the file name and path by yourself.)
- 2020-04-29 12:40:59下载
- 积分:1
-
micro_server_toolkit-1.0.0
一个使用纯C编写的Unix基础服务开发模型,包括 micro_httpd、micro_inetd、micro_proxy 等程序,是学习Unix/Linux下面守护进程和各种服务开发的好参考代码。(A pure C prepared by the use of Unix-based services development model, including micro_httpd, micro_inetd, micro_proxy such procedures, is to learn Unix/Linux daemon following the development of a variety of services and a good reference source.)
- 2008-06-12 16:00:52下载
- 积分:1
-
C#设置IP地址子网掩码默认网关DNS等参数
本程序可以手动设置IP 地址等参数也可以自动获取IP地址的功能,希望对大家有所帮助
本程序可以手动设置IP 地址等参数也可以自动获取IP地址的功能,希望对大家有所帮助
本程序可以手动设置IP 地址等参数也可以自动获取IP地址的功能,希望对大家有所帮助
本程序可以手动设置IP 地址等参数也可以自动获取IP地址的功能,希望对大家有所帮助
本程序可以手动设置IP 地址等参数也可以自动获取IP地址的功能,希望对大家有所帮助
- 2022-01-26 02:02:22下载
- 积分:1