-
#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
-
这是一款自动皂液器的控制程序,可以选择工作次数,低电压检测...
这是一款自动皂液器的控制程序,可以选择工作次数,低电压检测-This automatic soap dispenser is a control program, you can choose to work the number of low-voltage detection
- 2022-07-10 01:46:46下载
- 积分:1
-
汇编课程设计显示彩色矩形块
汇编课程设计显示彩色矩形块-compilation curriculum design rectangular blocks of color show
- 2022-08-03 06:22:57下载
- 积分:1
-
lab2000电子时钟系统,完整版的哦
lab2000系统下的电子时钟,完整版的哦-lab2000 system of electronic clock, full version of oh
- 2022-07-02 01:42:06下载
- 积分:1
-
USB PDIUSB12D C语言 中断服务处理程序
USB PDIUSB12D C语言 中断服务处理程序-USB PDIUSB12D C language processing service interruption
- 2023-06-16 01:00:02下载
- 积分:1
-
121 243453543452 54您提供的文件包
121 243453543452 54您提供的文件包-121 243453543452 54 your packet of documents
- 2023-04-04 15:45:04下载
- 积分:1
-
犯错
msa
- 2022-10-25 09:00:03下载
- 积分:1
-
本程序实现算术平均值滤波(采样值为8位,连续采样数目小于256)
入口参数:采样值数据块首地址在SADR中,连续采样数在W中
出口参数:滤波值在SO...
本程序实现算术平均值滤波(采样值为8位,连续采样数目小于256)
入口参数:采样值数据块首地址在SADR中,连续采样数在W中
出口参数:滤波值在SOU中.-Arithmetic mean of the filter program (value of sample 8, the number of consecutive samples is less than 256) import parameters: the first sample value of the data block address in the SADR, the continuous sampling of a few in the W export parameters: filter values in SOU .
- 2022-02-12 14:42:33下载
- 积分:1
-
MCD1实战一,LED8位流水灯《霹雳灯》
该实战的目的作为学习和应用MCD1在线调试工具套件,进行项目的软件和硬件
联合调试的范例程序,也就是当做...
MCD1实战一,LED8位流水灯《霹雳灯》
该实战的目的作为学习和应用MCD1在线调试工具套件,进行项目的软件和硬件
联合调试的范例程序,也就是当做一个用户程序实例,而演示板暂时充当用户电
路的角色。这样就构成了一个软件、硬件齐全的自制项目模拟环境。
本程序实现的功能是,把端口RC的8条引脚全部设置为输出模式,依次从引脚RC0
到RC7送出高电平,然后再依次从引脚RC7到RC0送出高电平,并且周而复始,从而
使得与该端口C相连的8只发光二极管LED循环依次点亮,其效果类似于一个简单的霹雳灯。
该程序可用于PIC16F87X(A)所有系列
- 2022-01-26 02:20:23下载
- 积分:1
-
用asm编的模拟dos中doskey命令的程序。按上下提取之前在终端输入的命令。...
用asm编的模拟dos中doskey命令的程序。按上下提取之前在终端输入的命令。-use asm series of the simulation were doskey dos order procedures. By extracting next before the end of the importation order.
- 2023-05-16 18:40:02下载
- 积分:1