登录
首页 » Visual C++ » ds1

ds1

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

  • iPhone-QQ-HeadPic
    Central Empire dedicated source
    2013-07-22 09:12:04下载
    积分:1
  • STM32F030-Demo
    stm32f030工程源码,原子风格代码(stm32f030 project source code, atomic style code)
    2013-12-25 17:17:23下载
    积分:1
  • YL-64
    TCS3200颜色传感器测试程序以及有关说明pdf文件,测试可用讲解详细(TCS3200 yan se chuan gan qi cheng xu ji you guan shuo ming)
    2016-03-02 19:00:25下载
    积分:1
  • digital-display-clock
    YL_3串行数码管显示时钟,74HC595,8位,显示时分秒,自动计数。(YL_3 serial digital display clock, 74HC595, 8 bit display minutes and seconds, automatic counting.)
    2013-07-31 19:28:56下载
    积分:1
  • C-language-control-method
    这是一份控制方法的C语言实现文档,写的非常好,分享给大家,特别是PID算法,说的还蛮好的(This is a method of controlling the C language document, written in a very good, for everyone to share, particularly in the PID algorithm, that s quite good)
    2016-01-03 19:13:20下载
    积分:1
  • uip
    单片机联网的UIP协议程序,以及必要的驱动程序。(Networked microcontroller UIP agreement procedure, and the necessary drivers.)
    2013-09-02 22:35:47下载
    积分:1
  • SQLDatabaseImage
    ASP+vb读取数据库图像并处理,下载做为参考。(ASP+vb read the database and image processing, downloaded as a reference.)
    2013-07-11 07:57:37下载
    积分:1
  • Query_V1.0
    PMbus中,可以将query解析,并具有修改,添加,删除等功能,以及生成code.(for pmbus query)
    2015-07-29 20:03:40下载
    积分:1
  • avoid-deadlock
    操作系统实验-死锁避免算法,word文档,详细,全,可执行,自己写的,希望快点能在贵网站下载。。。(Operating System Experiment- Deadlock avoidance algorithm, word documents, detailed, full, enforceable, wrote it myself, hope quickly in your website. . .)
    2013-10-28 19:05:59下载
    积分:1
  • aspxtp
    asp投票系统,.,,,, (asp ,.,,,, voting system)
    2008-01-03 15:26:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载