-
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
-
ps2_02
PS2通信,用stm32单片机模拟键盘鼠标往电脑送数据。(PS2 communication with stm32 SCM simulation to send data to a computer keyboard and mouse.)
- 2020-07-08 14:48:57下载
- 积分:1
-
red
红外报警程序,利用红外发射实现自动报警,当有目标靠近,发出蜂鸣名声(Infrared alarm program)
- 2010-08-12 21:50:32下载
- 积分:1
-
MultiThreadADO
MultiThread DB - ADO CMTDaoDatabase CMTDaoRecordset
- 2013-12-25 01:26:16下载
- 积分:1
-
ALIENTEK-MINISTM32-17
ALIENTEK MINISTM32 实验17 SPI实验(The ALIENTEK MINISTM32 experiment 17 SPI experiments)
- 2013-04-20 16:34:03下载
- 积分:1
-
android-IM
一个安卓开发的即时通信客户端和服务器端软件。(android client and java sever IM)
- 2014-03-31 16:08:12下载
- 积分:1
-
xiangpintexin
本作品以MSP430单片机为核心, 基于DDS原理,通过查表方式输出步进量为10HZ,频率为100HZ~2KHZ的正弦波。两路被测信号通过过零比较、异或和低通滤波整流,实现了对相位差的测量,误差小于(This works with MSP430 microcontroller as the core, based on DDS principle, by look-up table output step sizes for the 10HZ, frequency of 100HZ ~ 2KHZ sine wave. Two by the signal zero-crossing comparator, XOR, rectification and low-pass filtering, the realization of the phase of the measurement error is less than)
- 2013-05-23 15:14:22下载
- 积分:1
-
RC500
51单片机考勤系统下位机程序,可以配合上位机软件实现考勤功能,将hex文件下载到51单片机即可使用(51 MCU control procedures can be achieved with the PC software attendance function, the hex file into the microcontroller 51 can be used)
- 2013-11-07 21:16:47下载
- 积分:1
-
OS
说明: 这是操作系统中调度算法中时间片轮转算法完成后的实践报告(This is the operating system scheduling algorithm in the time slice cycle after the completion of practice report)
- 2010-09-06 10:48:24下载
- 积分:1
-
epwm_up_aq
生成PWM波的c程序,需要的可以自己下载查看(A C program for generating PWM waves)
- 2017-08-13 18:32:49下载
- 积分:1