登录
首页 » 嵌入式系统 » c 语言实现快速排序算法

c 语言实现快速排序算法

于 2022-01-25 发布 文件大小:2.90 kB
0 266
下载积分: 2 下载次数: 1

代码说明:

通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PIC 模拟液晶屏代码
    PIC 液晶屏代码模拟 PIC 16f690、 编译器高新技术 C、 模拟变形杆菌和 c 语言编程的基本知识中编写的代码。
    2023-08-01 05:20:03下载
    积分:1
  • 通常的汉字显示方式是先根据所需要的汉字提取汉字点阵(如16×16点阵),将点阵文件存入ROM,形成新的汉字编码;而在使用时刚需要先根据新的汉字编码组成语句,再由...
    通常的汉字显示方式是先根据所需要的汉字提取汉字点阵(如16×16点阵),将点阵文件存入ROM,形成新的汉字编码;而在使用时刚需要先根据新的汉字编码组成语句,再由MCU根据新编码提取相应的点阵进行汉字显示。在这种显示方式中,如果使用的流字数量较大或语句较多时,利用汉字的新编码组成语句将是一件十分繁琐而枯燥的工作。针对这种情况,本文提出了一种十分简单的方式――直接利用PC机的汉字内码作为单片机系统的编码。-Chinese characters are usually displayed in accordance with the need to first extract of the Chinese character dot-matrix (such as 16 × 16 dot matrix), will be deposited into the matrix documents ROM, a new Chinese character encoding while just need to use the Chinese characters according to the new code composed of statements, and then by the MCU according to the new code to extract the corresponding Chinese character dot-matrix display. In this show the way, if you use the word flow statement number of the larger or more, the use of Chinese characters composed of a new coding language will be a very tedious and boring work. In view of this situation, this paper presents a very simple way- direct access to PC-code character encoding as a single-chip microcomputer system.
    2022-08-11 19:20:33下载
    积分:1
  • STM32F303无刷直流电机控制程序
    进行简单的无刷直流电机控制,带霍尔的,三相六状态,没加入PID,没加入过流、过压保护。比较适合初学者参考,
    2022-08-12 19:41:07下载
    积分:1
  • rootfs挂载 【mini_rootfs】
    应用背景 本地挂载: # setenv bootargs root=/dev/mtdblock4 init=/linuxrc console=ttySAC0,115200 rootfstype=yaffs rw   nfs方式挂载rootfs 本地PC端: 1 准备好/mini_rootfs 2 安装软件包    #apt-get install nfs-common nfs-kernel-server portmap 3 配置nfs服务  #vim /etc/exports  加上以下内容:    /mini_rootfs *(rw,sync,no_root_squash)  重启nfs服务器  #/etc/init.d/nfs-kernel-server restart 开发端: 1 配置内核以支持NFS启动 make menuconfig [*] Networking support  --->    Networking options  --->      [*] IP: kernel level autoconfiguration           File systems  --->   [*] Network File Systems  ---&
    2022-10-20 07:15:04下载
    积分:1
  • arm开发板仿真平台 SkyEye is an Open Source Software Project (GPL Licence). Origin fro...
    arm开发板仿真平台 SkyEye is an Open Source Software Project (GPL Licence). Origin from GDB/Armulator, The goal of SkyEye is to provide an integrated simulation environment in Linux and Windows.-SkyEye is an Open Source Software Project (GPL Licence). Origin from GDB/Armulator, The goal of SkyEye is to provide an integrated simulation environment in Linux and Windows.
    2022-07-13 01:38:48下载
    积分:1
  • 此为本人今期一个项目的部分C51源程序,包含AD键盘检测及处理程序,语音芯片WTV―S的资料,配套软件及驱动控制程序。(如须更详细的资料,可邮件索取,ligan...
    此为本人今期一个项目的部分C51源程序,包含AD键盘检测及处理程序,语音芯片WTV―S的资料,配套软件及驱动控制程序。(如须更详细的资料,可邮件索取,ligang048006@163.com-this as a phase I of this part of the C51 project source files, including AD keyboard detection and processing Voice Chip WTV-S information, and supporting software-driven control procedures. (For more detailed information, please obtain the mail, ligang048006@163.com
    2022-01-26 01:27:37下载
    积分:1
  • Building ARM Systems with GNU tools
    2022-06-20 18:09:27下载
    积分:1
  • FL2440中断程序
    通过编程,实现FL2440 开发板按键 S0 和 S2 的中断实验,串口输出。
    2022-06-27 13:17:02下载
    积分:1
  • 430 : 19,264 Chinese characters and graphics LCD character display program can b...
    430编程:19264图形液晶汉字与字符的显示程序,可以直接使用-430 : 19,264 Chinese characters and graphics LCD character display program can be used directly
    2022-10-03 14:05:03下载
    积分:1
  • 可以在三星的ARM处理器s3c44b0上移植的bootLoader源代码
    可以在三星的ARM处理器s3c44b0上移植的bootLoader源代码-in Samsung ARM processor s3c44b0 transplant bootLoader on source code
    2022-12-16 17:50:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载