登录
首页 » Visual C++ » ds1

ds1

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

  • C8051F020UCOS2
    c8051F UC/OS 开发软件。 。。。。。。。。(c8051F UC/OS software development. . . . . . . . .)
    2010-05-12 23:25:10下载
    积分:1
  • MODBUS
    说明:  基于MODBUS协议的单片机通信系统,上位机+下位机(MODBUS Protocol-based communication system microcontroller)
    2011-03-28 10:17:22下载
    积分:1
  • f32_mulAdd
    32位单精度浮点数的乘加运算的C编程,感兴趣的可以看一下(Single-precision floating-point multiply-add operation of the C programming, interested can look at)
    2015-10-10 09:18:26下载
    积分:1
  • MATLAB-and-51-
    单片机和matlab串口通信程序,简单易用(Microcontroller and matlab serial communication program, easy to use)
    2015-03-24 10:18:39下载
    积分:1
  • drawing
    用循环程序 画用星号* 组成的方框图,可以设置方框的边长大小(Block diagram with an asterisk* cyclic process consisting of paintings, you can set the size of the box side)
    2014-02-22 13:59:19下载
    积分:1
  • FileClient
    Fei transmission similar to the LAN chatting transmission procedures, regardless of the server and client, he can take full advantage of the LAN network resources, transmission speed over 10MB/s, but is aesthetically pleasing user interface
    2014-10-30 16:06:06下载
    积分:1
  • Android-andbook
    Android编程入门教程andbook中文版(this book is fit for the beginners)
    2015-11-15 15:35:33下载
    积分:1
  • SCM-papers-report
    单片机论文报告 我的课程设计报告 供大家参考(SCM papers report my curriculum design report for your reference)
    2013-09-10 19:33:25下载
    积分:1
  • shumaguanPhongwai
    红外遥控发送指令,解码模块接收后,送给数码管显示(Infrared remote control sending instruction, decoding module receives, sends the digital tube display)
    2012-12-19 15:40:24下载
    积分:1
  • Wind_pitch_control
    PSCAD风机(异步机带桨距角控制)经过0.69kV-13.8kV-115kV-345kV三级升压,远距离电缆并入主网模型(PSCAD wind )
    2016-01-14 14:35:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载