-
#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
-
5V数字电压表汇编程序,本程序已通过调试,
0-5V数字电压表汇编程序,本程序已通过调试,-0-5V digital voltage meter assembler, the program has passed through debugging,
- 2022-01-24 14:46:09下载
- 积分:1
-
常见的调试命令,大家共同分享
常见的debug命令,与大家共同分享一下-common debug orders, we share common
- 2022-05-12 10:03:48下载
- 积分:1
-
HD44780在aduc812上的应用,汇编程序,调试成功
HD44780在aduc812上的应用,汇编程序,调试成功-HD44780 in the application procedure compilation, debugging success
- 2022-08-26 01:16:49下载
- 积分:1
-
数据库课程设计 题目:图书管理系统 里面详细的编程目的,设计方案...
数据库课程设计 题目:图书管理系统 里面详细的编程目的,设计方案-Database curriculum design topics: library management system, which detailed the purpose of programming, design
- 2022-03-10 11:47:45下载
- 积分:1
-
This is a program for snake games.
这是一个很经典的游戏――贪吃蛇的游戏源码,用汇编编的。-This is a program for snake games.
- 2022-08-14 02:24:12下载
- 积分:1
-
微机原理与应用的几个简单的实例,主要有8255等的应用
微机原理与应用的几个简单的实例,主要有8255等的应用-Microcomputer Principle and Application of a few simple examples, mainly 8255 and so the application of
- 2022-05-23 06:26:32下载
- 积分:1
-
Described in detail how to use the C language, digital signal processing in the...
详细介绍了如何使用C语言编写数字信号处理中最常用的FFT程序-Described in detail how to use the C language, digital signal processing in the most commonly used FFT procedure
- 2022-10-21 02:25:02下载
- 积分:1
-
fet140_ta_03
fet140_ta_03
- 2022-02-21 23:58:01下载
- 积分:1
-
硬件设计:简易LED显示计算器
运用汇编实现简易的4位加减乘除计算器,通过硬件课程实践,证明代码的有效性,并且,在确认键值的方法上有更新的方法,值得参考借鉴。
- 2022-07-11 02:07:35下载
- 积分:1