登录
首页 » Visual C++ » ds1

ds1

于 2014-05-11 发布 文件大小:1KB
0 259
下载积分: 1 下载次数: 2

代码说明:

  建立一张顺序存储结构的线性表(顺序表),表中数据元素为整型数,能够存储的最大元素数量为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)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SysTick
    stm32中准确延时用的文件,因为时钟速度过快且应用广,要实现ms的延迟是很困难的,所以用嘀嗒时钟。(make sure the delay time is just the time we wanted.)
    2009-05-11 09:44:32下载
    积分:1
  • frameparse
    一个以太网帧解析程序,实现以下功能:解析已封装好的Ethernet V2.0帧封装文件(见附件),判断有多少个帧,每个帧的所有字段内容,检测CRC校验是否正确(An Ethernet frame analysis program, the following functions: parsing the encapsulated Ethernet V2.0 frame encapsulation (see annex), to determine the number of frames, each frame contents all fields to detect CRC checksum is correct)
    2013-12-06 17:41:20下载
    积分:1
  • ADC1
    有关AVR的单片机adc的源代码,阐述详尽,便于使用(ADC OF AVR )
    2013-06-05 21:45:39下载
    积分:1
  • chuankou-aPC
    串口与pc机通讯,51单片机例程,只需要修改io口即可实现。(Serial communication with pc, 51 MCU routine, you only need to modify the io port can be realized.)
    2013-08-04 16:51:41下载
    积分:1
  • AVRTemperatureControlSystem
    基于 AVR 单片机的水温自动控制系统 摘要: 本系统以 ATMEGA16 单片机作为系统的检测和控制核心,采用温度传感器 AD590实现0—100℃温度范围内的实时温度采集,通过双向可控硅 BT136 控制电热杯对系统进行加热,利用继电器控制半导体制冷片对系统进行散热。通过一线键盘实现对任意温度值进行设定并对模糊 PID 参数的调整,液晶 LCD1602 实时更新显示当前温度测量值与键盘设定温度值。利用模糊 PID 算法,通过调功法对水温系统进行控制,实现在 0—100℃范围内任意设定温度值,静态误差小于±0.5℃。 关键词: AVR 单片机 水温自动控制 模糊 PID 算法 (AVR Microcontroller Based Temperature Control System Abstract: This system ATMEGA16 microcontroller as the core monitoring and control system using the temperature sensor AD590 0-100 ℃ temperature range to achieve real-time temperature acquisition, through triac BT136 control system for electric heating cup, using relay control system for semiconductor cooling heat tablet. Achieved through the keyboard line value for any temperature setting and adjustment of fuzzy PID parameters, real-time updates LCD1602 LCD displays the current temperature measurements and the keyboard set temperature. Fuzzy PID algorithm, the system transfer function method of temperature control, to achieve the 0-100 ℃ adjustable set temperature, the static error is less than ± 0.5 ℃. Keywords: AVR microcontroller water temperature control fuzzy PID algorithm )
    2010-05-13 11:32:02下载
    积分:1
  • wave
    单片机c程序集(伟福),环境为LAB6000,包含所有实验的程序,并附有详细的注释,难得的好资料,网上很难找。(Singlechip c assembly (Fu Wei), the environment LAB6000, contains all the experimental procedure, together with detailed notes, rare good information hard to find online.)
    2008-06-11 23:39:59下载
    积分:1
  • Sender
    GE PCI5565 PMC5565 PCIE5565反射内存网数据中断发送程序 VMIC5565反射内存卡 实时仿真技术(GE PCI5565 PMC5565 PCIE5565 reflective memory network data interrupt transmission program VMIC5565 reflective memory card real-time simulation technology)
    2014-10-29 10:01:59下载
    积分:1
  • ov2640control
    利用stm32控制OV2640软件二值化采集数据,进行图像识别,可以操作机械臂打节奏大师(Use stm32 control OV2640 software binary data acquisition, image recognition, playing rhythm master manipulator can be operated)
    2016-05-10 08:49:12下载
    积分:1
  • mega16-simple-example
    通过一个简单例子,说明C语言对于学习单片机的重要性,有助于新手的入门.(By a simple example to illustrate the C language for learning the importance of SCM to help novice entry.)
    2013-11-18 13:27:00下载
    积分:1
  • 111111111222
    zigbee cc2530无线数据接受与发送,以外接传感器MQ-2酒精传感器为例,内置协议栈,直接下载就行,IAR版本为8.1(zigbee cc2530 wireless data accepted and sent to the external sensor MQ-2 alcohol sensor, for example, the built-in protocol stack, the direct download on the line)
    2021-01-03 22:48:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载