-
IA-32汇编原代码,scop算法原码.相比于c/c++写的原代码,效率更高-IA-32 compilation of the original code, scop algorithm for the original code. Compared to c/c++ Write the original code, more efficient
- 2022-03-19 23:06:18下载
- 积分:1
-
流水灯C语言编程
关于流水灯的单片机里,可用的基于C++的程序,稍微改编对应引脚即可使用,方便快捷,欢迎大家参考~~~~
- 2022-05-05 04:31:56下载
- 积分:1
-
This is a simulation of serial IO port, using a program written in assembly code...
这是一个IO口模拟串口,采用51汇编代码编写的程序-This is a simulation of serial IO port, using a program written in assembly code 51
- 2022-03-22 21:55:48下载
- 积分:1
-
c编程技巧100之2
c编程技巧100之2-100 of 2
- 2023-04-24 16:40:04下载
- 积分:1
-
12864液晶显示器编程范例(汇编语言ASM)
12864液晶显示器编程范例(汇编语言ASM)-12864 LCD Programming Example (in assembly language ASM)
- 2022-05-05 17:49:36下载
- 积分:1
-
是一个用汇编语言编写的八路控制灯程序。其功能可以实现数字化的灯路控制。...
是一个用汇编语言编写的八路控制灯程序。其功能可以实现数字化的灯路控制。-is an assembler language of the Eighth Route Army to control lights procedures. Its functions can be achieved in digital signal path control.
- 2022-03-07 00:36:54下载
- 积分:1
-
将输入的十进制数转换为二进制数,程序为X86汇编中的宏模块...
将输入的十进制数转换为二进制数,程序为X86汇编中的宏模块-The input of a decimal number converted to binary number, the program for the X86 compilation of the macro module
- 2022-08-25 14:25:34下载
- 积分:1
-
Dining philosophers problem is presented and solved Dijkatra typical synchroniza...
哲学家就餐问题是由Dijkatra提出并解决的典型同步问题。该问题描述的是有五个哲学家共用一张圆桌,分别坐在周围的五张椅子上,圆桌上有五个碗和五只筷子,他们的生活方式是交替的进行思考和就餐。平时,一个哲学家进行思考,饥饿时便试图取用其左右最靠近他的筷子,只有在他拿到两只筷子时才能进餐。进餐完,放下筷子继续思考。-Dining philosophers problem is presented and solved Dijkatra typical synchronization problems. Description of the problem is that there are five philosophers share a round-table were sitting around the five chair, round table has five bowl and five chopsticks, their way of life is the turn of thinking and eating. Normally, a philosopher to think, hunger when trying to access their nearest him about the chopsticks, only if he can get two chopsticks when eating. End meals, to lay down their chopsticks to continue thinking.
- 2023-06-13 12:15:03下载
- 积分:1
-
Gobang function automatically, there is interface to facilitate operation, assem...
自动实现五子棋的功能,有界面,方便操作,汇编语言实现-Gobang function automatically, there is interface to facilitate operation, assembly language implementation
- 2022-04-22 13:10:25下载
- 积分:1
-
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度越快(每200分为单位)。
(3)每下落一个方块加1分,每消除一行加10分,两行加30分,三行加70分,四行加150分。初试分数为100分。
游戏控制:
up-旋转;空格-下落到底; 左右下方向键-控制方向。P-开始或暂停游戏。 ESC-退出。
特点:
(1)由于tc不支持中文,所以基本都是英文注释。
(2)函数命名尽可能规范的表达其内部处理目的和过程。
(3)代码加上注释仅有577行。(我下载过的两个俄罗斯方块代码一个在1087行,一个在993行,我的比它们代码少)。
(4)除了消除空格时算法比较复杂,其他算法都比较简单易读。
(5)绘图效率和局部代码效率扔有待提高。
(6)FrameTime参数可能依据不同硬件环境进行具体设置,InitGame需要正确的TC路径。
-err
- 2023-05-30 22:10:03下载
- 积分:1