-
#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
-
串口通讯程序,这个程序给出一个参考,并且带645协议部分
串口通讯程序,这个程序给出一个参考,并且带645协议部分-Serial communication procedures, which are given a reference, and with part of 645 agreement
- 2022-01-25 19:58:25下载
- 积分:1
-
Matrix Operation in Assembly Language
Matrix Operation in Assembly Language
- 2022-07-07 20:14:46下载
- 积分:1
-
很小的OS只有800多K,下载来研究研究吧,
很小的OS只有800多K,下载来研究研究吧,-A very small OS only more than 800 K, download it to study the study,
- 2022-07-18 05:48:21下载
- 积分:1
-
指令功能及汇编语言程序设计时钟输出,利用了单片机
指令功能及汇编语言程序设计时钟输出,利用了单片机-Command functions and assembly language programming
- 2022-02-26 18:33:52下载
- 积分:1
-
TLC549的A/D转换程序,读取模拟输入量的值,并将其显示在LED显示器上,附有详细的电路说明和解释,包括c和汇编...
TLC549的A/D转换程序,读取模拟输入量的值,并将其显示在LED显示器上,附有详细的电路说明和解释,包括c和汇编-TLC549 the A/D conversion process, read the value of analog input and displays in the LED display, accompanied by a detailed description and explanation of the circuit, including the c and the compilation of
- 2022-03-11 00:38:39下载
- 积分:1
-
有限元模型的建立,这些程序构成了有限元模型,用PlaneFrameModel来指定...
有限元模型的建立,这些程序构成了有限元模型,用PlaneFrameModel来指定-PlaneFrameModel
- 2022-04-12 09:24:37下载
- 积分:1
-
本程序用于简单的成绩管理,如多学生成绩的输入,,查找,插入,和排序,并能保存并调出以输入的文件进行处理等。...
本程序用于简单的成绩管理,如多学生成绩的输入,,查找,插入,和排序,并能保存并调出以输入的文件进行处理等。-This procedure for the simple performance management, student achievement such as multi-input,, to find, insert, and sequencing, and can save and transfer a file to input processing.
- 2022-08-10 08:44:32下载
- 积分:1
-
汇编指令的英文指令解释(对初学者来说,结合英文阅读有助于记忆指令,因为指令都是英文的缩写)...
汇编指令的英文指令解释(对初学者来说,结合英文阅读有助于记忆指令,因为指令都是英文的缩写)-the code of ASM, when you study the ASM, you should read
- 2022-03-18 16:16:09下载
- 积分:1
-
PIC16位乘除法
PIC16位乘除法-PIC16- multiplication and division
- 2022-01-27 11:41:59下载
- 积分:1