-
ODBC数据源注册小工具,简化数据库连接
ODBC数据源注册小工具,简化数据库连接-ODBC data source registered a small tool to simplify database connection
- 2022-09-17 12:20:03下载
- 积分:1
-
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N)
[输入]
待排序记录个数,各关键字的值。
[输出]
关键字从正负分开,正数在前
[存储结构]
待排序记录顺序存储。
[算法的基本思想]
快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。
#include
using namespace std
#define MAXNUM 100//设文件的最长可能长度
void sort(int* keys, const int len)//排序
-[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
- 2022-03-17 21:15:57下载
- 积分:1
-
I downloaded from the Internet on a DataGrid procedures.
我从网上下载的一个关于DataGrid的程序。-I downloaded from the Internet on a DataGrid procedures.
- 2022-08-03 20:05:12下载
- 积分:1
-
将内存中的一段数据拷贝到另外一段内存中,要考虑其中的内存覆盖问题。...
将内存中的一段数据拷贝到另外一段内存中,要考虑其中的内存覆盖问题。-A section of the memory to copy data to another section of memory, it is necessary to take into account the memory coverage problems.
- 2022-10-04 15:40:03下载
- 积分:1
-
VB+proteus+keil c 文件是电压检测系统
VB+proteus+keil c 文件是电压检测系统
-VB+ proteus+ keil c are voltage detection system
- 2022-04-29 10:59:13下载
- 积分:1
-
1. 创建MyDatabase.gdb数据文件。
2. 用SYSDBA用户登录。
3. 在ISQL窗口中,依次输入本书提供的SQL语句;或者在SQL E...
1. 创建MyDatabase.gdb数据文件。
2. 用SYSDBA用户登录。
3. 在ISQL窗口中,依次输入本书提供的SQL语句;或者在SQL Explorer窗口中,根据表3-1至表3-10创建数据表。(通过直接注册附带光盘所提供的MyDatabase.GDB数据库文件,可以直接获得这些数据表。)
4. 在SQL Explorer窗口中,创建MyDB数据库连接。
5. 输入初始数据。除了表3-11至表3-13的内容,还需要根据需要设定院系编号、班级号和计数器。
-1. MyDatabase.gdb create data files. 2. With SYSDBA user login. 3. In ISQL window, the importation of the book were provided by the SQL statement; or SQL Explorer window, according to Table to Table 3-1 3-10 create data tables. (Through direct registration with CD-ROM attached MyDatabase.GDB provided by the database files, direct access to these data sheets.) 4. SQL Explorer window, MyDB establish database connections. 5. Initial data input. Table 3-11 addition to the contents of Table 3-13, we must also need to set faculty numbers, and counter classes.
- 2022-01-24 14:40:10下载
- 积分:1
-
根据广义表创建一棵二叉树,然后中序线索化,再遍历。
根据广义表创建一棵二叉树,然后中序线索化,再遍历。-Create a table based on generalized binary tree, and then in the sequence of clues, and then traverse.
- 2023-06-17 03:15:04下载
- 积分:1
-
很好的VFP6.0源代码程序.人事管理系统
很好的VFP6.0源代码程序.人事管理系统-good VFP6.0 source code procedures. Personnel Management System
- 2022-04-17 00:59:11下载
- 积分:1
-
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是某集体的“人名”,输入的是人名的拼音,而且字符长度不超过19。
2) 输出形式:...
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是某集体的“人名”,输入的是人名的拼音,而且字符长度不超过19。
2) 输出形式:
输出相应的“人名”哈希表,并实现查找的功能,且平均查找长度不超R.
3) 程序所能达到的功能:
利用哈希函数对“人名”拼音做编码,建立哈希表。并实现查找的功能,且平均查找长度不超R。
4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果)
测试输入是不是有效的。进行条件判断,实现错误处理。
如果输入是正确的话,就会按程序的5个功能一步步建立起哈希表、查看哈希表、哈希表的查找。否则用函数MessageBox提示错误。然后进行更正。
二 . 概要设计:
1) 哈希表的特点
a) 据哈希函数和处理冲突的方法将一组关键字映像到一个有限的区间上
b) 以关键字在地址集中的“像”作为记录在表中的存储位置
c) 不经过任何比较,一次存取便能得到所查记录
- 2022-03-24 15:33:14下载
- 积分:1
-
binary search algorithm, to achieve a set of data for the search operation, the...
折半查找算法,实现对于一组数据的查找操作,利用折半查找法进行查找-binary search algorithm, to achieve a set of data for the search operation, the use of binary search method you
- 2023-02-02 17:15:04下载
- 积分:1