登录
首页 » Visual C++ » ds1

ds1

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

  • examples
    新华龙公司c8051f源码,用于cp2200(Hualong company c8051f source for cp2200)
    2020-06-26 18:00:02下载
    积分:1
  • 33
    说明:  模数转换ADC0832,基于51单片机的c语言程序(Analog to digital converter ADC0832, based on 51 MCU c language program)
    2013-12-07 00:33:47下载
    积分:1
  • How_To_Game_Programming
    Why your files are not be used? 1.The content is too simple 2.Is not a sourcecode or document 3.lost some files 4.Description is not detailed or not correct 5.Compressed file has password 6.Sourcecode duplicate or already exist
    2009-10-09 01:31:50下载
    积分:1
  • pebble-2.3.1
    pebble-blog 博客源码博客源码博客源码(pebble-blog blog blog source source source blog)
    2009-02-27 19:07:03下载
    积分:1
  • webrtc_vad
    webrtc中的vad代码,单独的vs2008工程,可以运行,供学习研究使用。(it is the vad code from webrtc, it is a program of vs2008, you can run it successfully, and it is very useful for study and research.)
    2014-07-17 16:45:22下载
    积分:1
  • 1602
    说明:  用4*4矩阵键盘给液晶1602送四位数,其中第四行按键设置为功能键,按键显示可调对应位的数字(With 4* 4 matrix keyboard to send the four-digit LCD 1602, the fourth line of buttons is set to function keys, adjustable button displays the corresponding number of bits)
    2009-08-29 13:21:16下载
    积分:1
  • ARMSYS6410(V1.1)
    ARMSYS6410(V1.1),立宇泰6410开发板随板关盘里的资料,扩展板的原理图,我买的板子(ARMSYS6410 (V1.1), Li Yu-tai 6410 development board with the board off the data plate, expansion board schematics, I bought the board)
    2011-11-07 17:26:23下载
    积分:1
  • 33
    模数转换ADC0832,基于51单片机的c语言程序(Analog to digital converter ADC0832, based on 51 MCU c language program)
    2013-12-07 00:33:47下载
    积分:1
  • ds
    DS1302 说明以及驱动程序 资料翻译 单片机学习必看(DS1302 instruction)
    2013-05-07 16:41:43下载
    积分:1
  • 99494
    LED旋转屏通过4排LED可以显示一个图形(4 rows by rotating LED LED screen can display a graphic)
    2011-06-02 15:03:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载