-
题目:有一个已经排好序的数组。现输入一个数,要求按原来的规律将它插入数组中。
1. 程序分析:首先判断此数是否大于最后一个数,然后再考虑插入中间的数的情况,...
题目:有一个已经排好序的数组。现输入一个数,要求按原来的规律将它插入数组中。
1. 程序分析:首先判断此数是否大于最后一个数,然后再考虑插入中间的数的情况,插入后
此元素之后的数,依次后移一个位置。
2.程序源代码:-Title: already have a good sequence of the array row. Now enter a number of requirements in accordance with the laws of the original array to insert it. 1. Program analysis: First, to determine whether this number is greater than the last few, and then inserted between a few to consider the case, insert the following after the element number, followed by one position after the shift. 2. Program source code:
- 2022-04-08 06:57:14下载
- 积分:1
-
抽象工厂实现
设计模式,提供了C++方法实现抽象工厂,对于想掌握编程的用户来说很有帮助
- 2022-11-29 08:00:03下载
- 积分:1
-
Details of MFC of VC++ of the study, for beginners, this is a very good program,...
详细介绍VC++之MFC的学习,对初学者来说这是一个很不错的程序啊,希望的对大家有所帮助!-Details of MFC of VC++ of the study, for beginners, this is a very good program, ah, want to help all of you!
- 2022-07-11 07:34:11下载
- 积分:1
-
Filemon 源代码.zip
Filemon 源代码.zip-Filemon source code. Zip
- 2022-03-31 13:15:28下载
- 积分:1
-
Space time block codes
Space time block codes
- 2022-05-29 03:16:56下载
- 积分:1
-
楼宇自控系统 在编译本章程序后,请将winio.dll、winio.vxd和winio.sys文件复制到可执行文件所在目录下, 否则WinIo库初始化函数ini...
楼宇自控系统 在编译本章程序后,请将winio.dll、winio.vxd和winio.sys文件复制到可执行文件所在目录下, 否则WinIo库初始化函数initializeWinIO调用将会失败。-Building Automation System at compile this chapter procedures, I would be grateful if winio.dll, winio.vxd winio.sys reproduction of documents and executable files to the directory, otherwise WinIo library initialization function initializeWinIO call will fail.
- 2023-02-03 11:55:03下载
- 积分:1
-
飞机订票退票系统
模拟一个飞机订票退票系统
假定某民航机场有m个航班,每个航班都只到达一个目的地。试为该机场售票处设计一个自动订票和退票系统。...
飞机订票退票系统
模拟一个飞机订票退票系统
假定某民航机场有m个航班,每个航班都只到达一个目的地。试为该机场售票处设计一个自动订票和退票系统。
要求系统具有以下功能:
(1)订票。若该航次余票数大于等于乘客订票数,则在该航次的乘客表(按乘客姓氏字母顺序连接)中,插入订票乘客的信息项,并修改该航次的有关数据,否则,给出相应的提示信息。
(2)退票。若该航次余票数小于等于乘客订票数,则在该航次的乘客表中找出该乘客项,修改该航次及乘客表中有关数据。当由于退票,使得该乘客的订票数为零时,要从乘客表中撤消该乘客项;否则,给出相应的提示信息。
(3)、将某航次的余票数恢复初值――该航次的最大客票数。
当客户订票数要求不能满足时,系统也可向客户提供到达同一目的地的其他航线情况。
- 2022-07-15 10:54:33下载
- 积分:1
-
呵呵,又一个编码互换程序
呵呵,又一个编码互换程序-Oh, a swap coding procedures. .
- 2022-02-26 21:01:00下载
- 积分:1
-
opengl下一个小球动画的实现。考虑了重力与摩擦力,并作了光影处理。...
opengl下一个小球动画的实现。考虑了重力与摩擦力,并作了光影处理。-The next ball animation opengl implementation. Taking into account gravity and friction, and made a deal with light and shade.
- 2023-04-02 22:20:04下载
- 积分:1
-
手机WAP页面中中文转UTF-8内码函数。 用于在页面动态输出中文。解决中文乱码...
手机WAP页面中中文转UTF-8内码函数。 用于在页面动态输出中文。解决中文乱码-phone WAP pages to the Chinese UTF-8 coding function. The dynamic pages for Chinese exports. Chinese gibberish solution
- 2022-06-27 12:42:34下载
- 积分:1