-
ds1
建立一张顺序存储结构的线性表(顺序表),表中数据元素为整型数,能够存储的最大元素数量为50。在该顺序表上依次完成以下操作:
(1)判定线性表是否为空。
(2)依次在顺序表尾部(第n+1位,n位线性表长度)插入数据元素:15、207、36、79、21、97、652、109、66、81,然后输出整张线性表(依次输出所有元素)。
(3)删除第5个元素,然后输出整张线性表。
(4)在线性表的第3位插入数据92,然后输出整张线性表。
(5)在线性表中查找值为79的元素,如果存在输出它是第几位,不存在输出提示信息。
(6)线性表中查找值为31的元素,如果存在输出它是第几位,不存在输出提示信息。
(7)查找线性表中,值为652的元素的前驱元素以及后继元素的值。
(Order to establish a linear table storage structure (order form), the table is an integer number of data elements, the maximum number of elements that can be stored is 50. On the order form in order to complete the following:
(1) determine whether a linear table is empty.
(2) sequentially in the order form the tail (the n+1 bit, n-bit linear meter length) into the data elements: 15,207,36,79,21,97,652,109,66,81, and then output the entire linear table (in order to output all elements).
(3) Delete the first five elements, and then output the entire linear form.
The first three insert data (4) line of the table 92, and then output the entire linear form.
(5) Find a linear table of elements is 79, if there is it is the first of several output, the output message does not exist.
(6) Find a linear table of elements is 31, and if there is it is the first of several output, the output message does not exist.
(7) Find a linear table, element 652 is a precursor elements and the va)
- 2014-05-11 19:16:52下载
- 积分:1
-
opencv-2-cookbook-src-master
opencv2计算机视觉编程手册,书中源码。(opencv2 computer vision programming manual, the book source.)
- 2016-11-16 08:27:43下载
- 积分:1
-
MifFileGen
VC++6.0软件生成Altera公司FPGA内部存储器ROM初始化数据mif格式文件。方便通过QuartusII导入波形等参数。强调这个是例子,生成的是一个定点的正弦数据表文件,需要用到的请自行修改源代码。(This software generates internal memory ROM initialization mif format data file for FPGA product by Altera. Facilitate the passage of the waveform parameters such as import QuartusII)
- 2013-07-19 02:32:45下载
- 积分:1
-
kernel
这是一款关于趋势分析的程序,能够简单地分析出数据序列的趋势,以及断点(This is a on the trend analysis program, be able to simply analyze data sequence trend, and the breakpoint)
- 2013-03-17 11:29:26下载
- 积分:1
-
4[1].3
人脸检测 ,算法研究,驱动程序,海康卡,海康代码SDK(Face detection, algorithms, drivers,海康卡, Haikang code SDK)
- 2009-04-10 15:27:34下载
- 积分:1
-
禁忌算法 C++
禁忌搜索算法是一种全局性邻域搜索算法,模拟人类具有记忆功能的寻优特征。它通过局部邻域搜索机制和相应的禁忌准则来避免迂回搜索,并通过破禁水平来释放一些被禁忌的优良状态,进而保证多样化的有效探索,以最终实现全局优化(Tabu search algorithm)
- 2018-04-13 09:03:34下载
- 积分:1
-
STKWindows-Sockets
卫星在轨运行的可视化仿真,能够直观、逼真反映卫星的实时轨道和姿态运动。卫星工具软件包( STK)是进行卫星系统仿真和分析的重要工具,能够满足卫星二维和三维的可视化仿真要求。在深
入研究STK/Connect模块的基础上,应用WindowsSockets和多线程编程技术,开发了STK实时视景仿真驱动程序,该程序利用UDP协议接收模拟遥测计算机给出的卫星参数,通过与STK/Connect模块的通信,实时驱动STK的仿真运行,成功实现了卫星在轨运行实时视景仿真的演示效果。(STK (Satellite Too l Kit) STK/Connect)
- 2020-09-21 10:57:52下载
- 积分:1
-
modbus-TCPIP
modbus TCPIP协议client-Server代码,c++。(TCPIP client-Server protocol MODBUS source code and analysis, c++ programming.
)
- 2016-09-24 20:54:49下载
- 积分:1
-
16807-Random-Number-Generator
16807随机数生成器,采用线性同余法,a=16807,b=0,m=2147483647(16807 random number generator, using a linear congruential method, a = 16807, b = 0, m = 2147483647)
- 2015-09-30 20:57:46下载
- 积分:1
-
Terrian
地形渲染代码集锦,包括分形山,大规模渲染LOD算法等 (Collection of terrain rendering code, including fractal mountain, large-scale rendering LOD algorithm)
- 2008-01-01 12:53:28下载
- 积分:1