登录
首页 » c » 指针实现俩数的从小到大排序

指针实现俩数的从小到大排序

于 2022-03-22 发布 文件大小:468.57 kB
0 138
下载积分: 2 下载次数: 1

代码说明:

利用指针实现俩数的从小到大排序,好处是排序交换的是地址而不是变量。这对银行系统应该比较安全。

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

发表评论

0 个回复

  • 1
    说明:   智能优化算法作为新兴的搜索算法,一般是指利用自然界的生物系统与优化过程的某些相似性而逐步发展起来的优化算法,如遗传算法、粒子群算法、蚁群算法等,它们通过对搜索空间中的一组解按概率规则操作得到下一组解。 人工鱼群算法源于对鱼群运动行为的研究,是一种新型的智能仿生优化算法。它具有较强的鲁棒性、优良的分布式计算机制、易于和其它方法结合等优点。目前对该算法的研究、应用已经渗透到多个应用领域,并由解决一维静态优化问题发展到解决多维动态组合优化问题。 (As an emerging intelligent optimization algorithms search algorithm, generally refers to the use of natural biological systems and the optimization process some similarities and gradually developed optimization algorithms, such as genetic algorithms, particle swarm optimization, ant colony algorithm, which searches through space of solutions according to the probability of a rule action to get the next set of solutions. AFSA stems from the behavior of fish movement, is a new type of intelligent bionic optimization algorithm. It has strong robustness, excellent distributed computer system, easy to combine with other methods, etc.. At present the algorithm research, application has penetrated into multiple applications, by solving one-dimensional static optimization problem developed to solve multidimensional dynamic combinatorial optimization problems.)
    2013-05-26 01:12:23下载
    积分:1
  • dvsdm80
    Buffer投针法计算圆周率,控制台小程序, 蒙特卡洛方法,()
    2018-05-26 07:48:38下载
    积分:1
  • 国家集训队2009论文集_7820843
    National Training Team 2009 Proceedings
    2020-06-23 02:40:01下载
    积分:1
  • ATmega16单片机与液晶显示器
    接口的LCD ATmega 16。你可以用它来与LCD接口界面有128包含头文件
    2022-06-28 18:56:18下载
    积分:1
  • cg-fft
    This software gave volume MoM solution by the CG-FFT method(volume solution by using MoM t he CG-FFT method)
    2007-03-31 10:21:57下载
    积分:1
  • 关于预测控制的MATLAB-s-function模块编写
    说明:  关于预测控制的MATLAB-s-function模块编写。 网络化控制系统是一种通过网络实现传感器,控制器和执行器之间数据交换的分布式实时反馈控制系统。其应用领域广泛,包括过程工业,航天工程,运输管理,机器控制,远程手术,智能家居等。具有长距离数据交换与共享,成本低, 便于安装和维护,高灵活性和可靠性,易于重配置及高移动性等优势。同时,由网络化控制系统引起的网络诱导时延和其共享、开放、可进入等特点对系统稳定性和安全性造成的影响也不可忽略。故本文设计了一种网络化预测输出跟踪控制系统以解决网络时延问题,并站在安全的角度研究虚假数据注入攻击问题(MATLAB-s-function.Networked control system is a distributed real-time feedback control system that realizes data exchange among sensors, controllers and actuators through network. Its applications range is wide, including process industries, aerospace engineering, transportation management, machine control, remote surgery and smart homes.)
    2020-07-26 13:08:40下载
    积分:1
  • paixu
    使用的排序算法,非常不错的思维,比较其他有较大优势(Sorting algorithm used, very good ideas, have greater advantages compared with other)
    2009-05-05 17:54:54下载
    积分:1
  • HeadLookController
    Unity3d头部控制代码,官方例子,非常好用(The Unity3d head control code, official examples, very easy to use)
    2013-03-22 09:46:19下载
    积分:1
  • 1
    说明:  标定用的c++程序,可以用来标定得到相机的内参矩阵和畸变参数。(Calibration using matlab toolbox, can be used to calibrate the camera s internal control matrix image obtained.)
    2015-07-24 16:18:53下载
    积分:1
  • stm32按键
    实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.实现stm32案件实验.
    2022-08-05 13:10:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载