-
#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
-
可以保存计算过程。
可以保存计算过程。-can preserve the computation process.
- 2022-03-24 05:40:44下载
- 积分:1
-
硬件设计:简易LED显示计算器
运用汇编实现简易的4位加减乘除计算器,通过硬件课程实践,证明代码的有效性,并且,在确认键值的方法上有更新的方法,值得参考借鉴。
- 2022-07-11 02:07:35下载
- 积分:1
-
贪吃蛇C源码,可以实现C语言的一个游戏.
贪吃蛇C源码,可以实现C语言的一个游戏.-code of a game named eat_snake,this is can carry out a game of c language
- 2022-02-21 03:41:33下载
- 积分:1
-
这有一点C的资料,看看,喜欢的下载吧,帮忙
这有一点C的资料,看看,喜欢的下载吧,帮忙-C
- 2023-06-16 05:35:03下载
- 积分:1
-
it is helpful for download the program to the on
最新的2812烧写flash的插件,用于ccs2000的,适合于2812芯片为cg的版本。很好用-it is helpful for download the program to the on-chip flash.
- 2022-05-21 09:12:18下载
- 积分:1
-
AVRSTUDIO中文HELP AVRSTUDIO中文HELP
AVRSTUDIO中文HELP AVRSTUDIO中文HELP-HELP AVRSTUDIO Chinese AVRSTUDIO Chinese HELP AVRSTUDIO中文HELP
- 2023-01-18 11:30:04下载
- 积分:1
-
12位ad转换程序,很棒的阿。!! !!!使用一下吧!! !! !! !!!...
12位ad转换程序,很棒的阿。!! !!!使用一下吧!! !! !! !!!
- 2022-05-22 06:09:15下载
- 积分:1
-
OpenGL Cube, Asm x86.
Simple sample, which describes how to use OpenGL GAPI in...
OpenGL Cube, Asm x86.
Simple sample, which describes how to use OpenGL GAPI in Assembler. Requires MASM32 kit for building.
- 2023-03-19 23:15:03下载
- 积分:1
-
模拟实际的交通灯程序
1加到100
8086模拟器2.05
模拟实际的交通灯程序
1加到100
8086模拟器2.05-Simulation of the actual process of traffic lights 100 8086 Simulator 1 Add 2.05
- 2023-03-10 12:45:04下载
- 积分:1