登录
首页 » Visual C++ » ds1

ds1

于 2014-05-11 发布 文件大小:1KB
0 230
下载积分: 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 个回复

  • EVA-YH9-SF320MV5-User-Manual
    C8051F320 单片机是 Silabs 公司推出的带 USB Device 接口的增强型 51 单片机,其兼容传统 51 架构,并在此基础上大大增强。基于大多数电子工程师 都熟悉经典的 51 系列及其开发环境, 我们选定这颗 MCU 作为对象进行 USB 开 发,将更多人带入 USB 开发的大门。关于 C8051F320 内部资源详情,请查看 datasheet。 本开发板的重点是针对 USB 应用, C8051F 系列单片机其他外设开 发过程将被简化以节约用户的学习、开发成本(C8051F320 microcontroller is Silabs company launched an enhanced interface with USB Device 51 SCM, which is compatible with the traditional 51 architecture, and greatly enhanced on this basis. Based on most electronic engineers Are familiar with the classic 51 series and its development environment, we have chosen as an object USB MCU Fengyun open Hair, the more people into the USB development door. About C8051F320 internal resources, please see the datasheet. The focus is on the development board USB application, C8051F MCU open other peripherals Hair process will be simplified to save the user s learning, development costs. )
    2015-01-12 12:15:09下载
    积分:1
  • NTC_calculator
    NTC热敏电阻计算器(B值、R25、指定温度、指定阻值均可计算,给定四个参数即可计算第五个参数)(NTC thermistors Calculator (B value, R25, specified temperature, the resistance can be specified calculation, four parameters can be calculated given the fifth parameter))
    2016-02-20 13:18:42下载
    积分:1
  • Based-on-MSP430-andDS1302
    基于单片机MSP430的DS1302的时钟芯片编程,实现时钟显示(Based on MSP430 MCU DS1302 clock chip programming, the clock display)
    2013-07-07 20:23:24下载
    积分:1
  • master-mater
    这是一个智能电压表的实例,里面有完整的程序。这个电压表可以数字显示电压值的大小。 (This is the example of a table of a smart voltage, which has a complete program. This digital voltmeter shows the size of the voltage value.)
    2012-12-28 15:19:53下载
    积分:1
  • sdfghjk
    基于正点原子stm32的频谱 a1读取ad信号显示(Punctuality atomic spectrum based stm32 a1 read signal display ad)
    2015-07-26 19:55:48下载
    积分:1
  • function-generator-.c
    利用AT89c52实现对AD9850的控制,使之输出各种波形,常用在仪器仪表中(Using AT89c52 achieve AD9850 control, so that the output of various waveforms used in the instrumentation of)
    2011-05-31 19:15:40下载
    积分:1
  • SD卡2.0协议
    SD卡2.0协议的详细资料,可用与SPI使用(The details of the SD card 2.0 protocol can be used with SPI)
    2017-07-31 17:13:52下载
    积分:1
  • led
    at89c2051利用74ls164 驱动 共阳极数码管(74ls164 driver to use a total of at89c2051 digital tube anode)
    2009-05-04 23:01:10下载
    积分:1
  • stm32f4xx_flash
    NPN silicon planar epitaxial transistor encapsulated in a SOT223 surface mounted envelope and designed primarily for use in hand-held radio equipment in the 470 MHz communications band.
    2014-07-09 15:09:54下载
    积分:1
  • TIAOSU
    使用STM32F103单片机实现的电机调速程序(Use STM32F103 MCU motor speed control procedures)
    2016-04-26 11:35:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载