-
#include <iostream>
#include <stack>
#define MAX_SIZE...
非递归的快速排序算法-#include
#include
#define MAX_SIZE 11
using namespace std
typedef int elem
typedef std::stack Stack
int partition(elem*pData, int low, int high)
void swap(elem& a, elem& b)
void qsort(elem* pData, int low, int high)
int partition(elem*pData, int low, int high)
{
elem key = pData[low]
while(low < high)
{
while(low < high && pData[high] >= key)
high--
swap(pData[low], pData[high])
while(low < high && pData[low]
- 2022-05-08 16:41:43下载
- 积分:1
-
16F873数字钟程序
16F873数字钟程序 -16F873 digital clock procedures 16F873 digital clock procedures
- 2022-01-26 03:29:55下载
- 积分:1
-
利用实验装置,设计一个简易加法计算器的原理线路,编制应用程序,实现三位十进制无符号数的加法。...
利用实验装置,设计一个简易加法计算器的原理线路,编制应用程序,实现三位十进制无符号数的加法。-asm
- 2022-02-26 22:41:20下载
- 积分:1
-
Count of thousands of factorial, for computers and programmers is a challenge to...
算十万的阶乘,对于计算机和程序员都是一个挑战,本源程序实现了求大数的阶乘,是用汇编写的,相对速度很快,算十万的阶乘在我赛扬2.4,内存256的神舟笔记本上,用了20多分钟.算出得数写在一个TXT文件下,十万的阶乘结果,用记事本打开,都要好一会儿.-Count of thousands of factorial, for computers and programmers is a challenge to realize the source of the order of the factorial of large numbers, is written in the compilation of a relatively quick, and counting of thousands of factorial in my 2.4 Celeron, memory 256 Shenzhou notebook, spent more than 20 minutes.得数calculated to write in a TXT file, the thousands of factorial results, use Notepad to open, should a good moment.
- 2022-08-03 07:00:28下载
- 积分:1
-
多功能小车仿真。L298驱动直流电机,有液晶LCD显示方向,速度。...
多功能小车仿真。L298驱动直流电机,有液晶LCD显示方向,速度。-Multi-function car simulation. L298-driven DC motor,there is the direction of liquid crystal LCD display,speed.
- 2022-02-04 14:43:33下载
- 积分:1
-
这是我最近制作的,觉得还可以,请大家评论以下
这是我最近制作的,觉得还可以,请大家评论以下-This is my most recent production, I felt that I could, please comment on the following
- 2022-11-19 00:00:03下载
- 积分:1
-
Fractal Qbasic program useful brief on the shape of the leaves
分形Qbasic程序 简短有用 关于树叶形状-Fractal Qbasic program useful brief on the shape of the leaves
- 2022-02-20 18:59:53下载
- 积分:1
-
PIC18CXXX/PIC16CXXX DC Servomotor
PIC18CXXX/PIC16CXXX DC Servomotor
- 2023-01-29 13:45:03下载
- 积分:1
-
自行车速度LED显示
从乌克兰网站下载采用PIC16F84汇编的自行车,摩托车速度表LED显示,加Proteus防真。响当好的程序。内有乌克兰原编HEX,加上有我再汇编的HEX程序。很好的,值的学习和分享! 内有ASM,MAC,原编HEX等。可以完全编译。
- 2022-02-01 22:51:01下载
- 积分:1
-
the compilation tools (includes anti
linux下的汇编工具,(内包含反汇编工具),比masm有许多优点。-the compilation tools (includes anti-compilation tools), can have many advantages.
- 2022-03-04 23:36:20下载
- 积分:1