-
#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
-
fun typing games
好玩有趣的打字游戏-fun typing games
- 2022-01-25 15:21:02下载
- 积分:1
-
The program is to achieve the realization of digital clock, and a corresponding...
该程序是实现数字钟的实现 ,并且有相应的界面。-The program is to achieve the realization of digital clock, and a corresponding interface.
- 2023-03-21 02:45:03下载
- 积分:1
-
功能最全的能够运行四则运算的计算器且利用堆栈实现带括号的功能...
功能最全的能够运行四则运算的计算器且利用堆栈实现带括号的功能-The most versatile able to run the calculator and the four operations with the use of the stack to achieve the function in parentheses
- 2022-04-10 18:51:17下载
- 积分:1
-
DSP程序TI常用例程MatRix,可以参考使用
DSP程序TI常用例程MatRix,可以参考使用-TI procedure commonly used DSP routines MatRix, can refer to the use of
- 2023-05-01 19:30:03下载
- 积分:1
-
In 51 of the P1 port to connect eight light
在51的P1口连接8个发光2级管,实现8个发光2级管轮流显示-In 51 of the P1 port to connect eight light-emitting tube 2, the achievement of eight light-emitting display two pipe rotation
- 2023-04-02 20:55:03下载
- 积分:1
-
用8251实现串行口异步通信,自发自收,波特率1200bps。采用查询方式发送与接收。从键盘输入发送字符。发送与接收的字符均在屏幕上显示。按esc键返回dos...
用8251实现串行口异步通信,自发自收,波特率1200bps。采用查询方式发送与接收。从键盘输入发送字符。发送与接收的字符均在屏幕上显示。按esc键返回dos-Achieved with the 8251 serial asynchronous communication, spontaneous self-income, the baud rate 1200bps. Way to send and receive using queries. To send characters from the keyboard. Send and receive characters are displayed on the screen. Press esc key to return to dos
- 2023-08-01 07:45:03下载
- 积分:1
-
可执行文件向二进制文件的转换。能够将所有可执行文件转换成相应的二进制文件。...
可执行文件向二进制文件的转换。能够将所有可执行文件转换成相应的二进制文件。-executable binary files to the conversion. All can be converted into executable files corresponding to the binary files.
- 2022-03-10 22:33:30下载
- 积分:1
-
很经典的汇编程序,用DEBUG运行
很经典的汇编程序,用DEBUG运行-classic compilation procedures, operating with DEBUG
- 2022-06-12 21:34:42下载
- 积分: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