-
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
-
TextToSound
本文简单介绍了如何运用VC编程,Microsoft Speech SDK 建立自己的文本语音转换应用程序.
(This paper briefly describes how to use VC programming, Microsoft Speech SDK to create your own text to speech application.)
- 2013-07-27 13:27:07下载
- 积分:1
-
Sourcecode-V1.0
ePhoto for compare between production line scan barcode and employee to see picture
- 2013-12-27 17:48:35下载
- 积分:1
-
PWM互补死区输出
在STM32开发平台下,通过定时器的时钟配置,进行的PWM互补带死区的方波对电机进行控制。(Under the STM32 development platform, the PWM complementary square wave with dead zone is used to control the motor through the clock configuration of the timer.)
- 2020-06-23 00:00:03下载
- 积分:1
-
bianma
说明: 串口通信C8051F120 实现,1起始位,1停止位,无校验(Serial Communication C8051F120 Realization, 1 Start Bit, 1 Stop Bit, No Check)
- 2019-06-24 11:23:00下载
- 积分:1
-
mpu6050
本程序采用瑞萨单片机R5F100LEA读取MPU6050数据,并计算出俯仰角和横滚角(Click to download the APP version of mobile version is to use baidu translation renesas MCU MPU6050 R5F100LEA read data, and calculates the pitch Angle and roll call)
- 2015-06-22 20:16:29下载
- 积分:1
-
sensorloss
DSP TMS320F28335 无位置传感器直流无刷电机控制(DSP TMS320F28335 BLDC)
- 2018-05-08 11:36:15下载
- 积分:1
-
计算智能禁忌搜索算法
禁忌(Tabu Search)算法是一种亚启发式(meta-heuristic)随机搜索算法1,它从一个初始可行解出发,选择一系列的特定搜索方向(移动)作为试探,选择实现让特定的目标函数值变化最多的移动。为了避免陷入局部最优解,TS搜索中采用了一种灵活的“记忆”技术,对已经进行的优化过程进行记录和选择,指导下一步的搜索方向,这就是Tabu表的建立。
- 2022-08-19 12:02:38下载
- 积分:1
-
EsayDayCE
详细得的源程序 可工大家参看 谢谢 多指教(detail in the source code you can see the many exhibitions Thank you)
- 2007-04-19 17:06:40下载
- 积分:1
-
gun_na37
pwm整流器的建模仿真,感应双馈发电机系统的仿真,复化三点Gauss-lengend公式求pi。( Modeling and simulation pwm rectifier Simulation of doubly fed induction generator system, Complex of three-point Gauss-lengend the Formula pi.)
- 2017-05-10 10:04:05下载
- 积分:1