登录
首页 » Visual C++ » ds1

ds1

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

  • JN-AN-1229
    zigbee document upload 23/7/2019
    2020-06-21 18:00:02下载
    积分:1
  • hand_clear_c
    说明:  手消毒器应用,已经用于产品。是先喷消毒液;再进行手烘干。非常好奥(Hand disinfection applications, has been used for products. Is to spray disinfectant further hand drying. Very good Austrian)
    2011-02-27 13:33:56下载
    积分:1
  • sn8p2711b
    松翰单片机源码例子sn8p2711b有需要的下载哦(Sonix SCM source code examples sn8p2711b need to download ah)
    2015-11-05 00:00:30下载
    积分:1
  • sortlistctrldemo
    listctrl控件,用回调函数进行排序(listctrl controls, using a callback function Ranking)
    2005-01-28 09:29:24下载
    积分:1
  • Patch-WinLicense-hwid
    Patch WinLicense hwid ~
    2015-02-19 01:17:15下载
    积分:1
  • process-and-thread-Technology
    进程和线程技术 Linux和windows进程创建 进程和线程通信 文档+实例分析(process and thread Technology Text and examples)
    2012-01-05 10:51:28下载
    积分:1
  • 33
    说明:  模数转换ADC0832,基于51单片机的c语言程序(Analog to digital converter ADC0832, based on 51 MCU c language program)
    2013-12-07 00:33:47下载
    积分:1
  • dianyabiao
    数字电压表的源程序,可以实现实现测量电路的电压,精确到小数点后面三位数字。附带数字电压表的流程图(Digital voltage meter source, can be implemented to realize the voltage measurement circuit, down to the decimal point three digits.Attached flowchart of digital voltmeter)
    2013-11-15 16:38:21下载
    积分:1
  • BMSTest
    模拟BMS,测试充电桩,经测试完好!符合《GB-T 27930-2015 电动汽车非车载传导式充电机与电池管理系统之间的通信协议》,用的USB转CAN外接模块。(Analog BMS, charging pile test, tested good! In line with the communication protocol between the GB-T 27930-2015-board electric vehicle conductive charging unit and battery management system. )
    2020-07-02 03:20:02下载
    积分:1
  • MATLAB-and-51-
    单片机和matlab串口通信程序,简单易用(Microcontroller and matlab serial communication program, easy to use)
    2015-03-24 10:18:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载