登录
首页 » Visual C++ » ds1

ds1

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

  • FileUpload_asp
    上传文件插件,ASP页面和源码,很好用的(Upload file plug-ins, ASP page and source)
    2010-06-07 11:44:47下载
    积分:1
  • ad_adjust1
    说明:  数字滤波器,AD采样的值进行数字滤波,得到较理想的值(Digital filters, AD sampling the value of the digital filter, to be more ideal value)
    2009-08-27 23:23:06下载
    积分:1
  • an_r01an0455ej0100_rl78_pwm
    瑞萨 pwm 控制(自带头文件)压缩包打包 (Renesas pwm control (from the lead file) compressed packed)
    2013-08-31 09:00:39下载
    积分:1
  • TemperatureControlProgram
    一个温度控制程序实现温度传感器的测控,容易套用(A temperature control program to achieve the temperature sensor monitoring)
    2010-05-27 02:15:05下载
    积分:1
  • phpexcel_v5.5
    PHP+Excel多用途查询系统1项通用版【无需后台】 V 5.5_PM1X首次发布PHP+Excel,使用的是PHPexcel查询Excel,测试可用,可能速度偏慢(千条数据无影响) 适合手机、平板、电脑访问的页面,体积极小省流量,希望大家喜欢。。 直接查询Excel数据的第一个表,修改表格后FTP上传,快速搞定,非常方便。(PHP+Excel multi purpose query system 1 general version of the no background 5.5_PM1X V for the first time released PHP+Excel, using the PHPexcel query Excel, the test is available, may be slow (no effect of the thousand data). Suitable for mobile phones, tablet, computer access to the page, the volume of small provincial traffic, I hope you like.. Directly query the first Excel data table, modify the table after the FTP upload, quick fix, very convenient.)
    2015-11-09 15:54:05下载
    积分:1
  • 00.c
    基于单片机的数字电容表设计代码,包含数码管的显示(Based on single chip microcomputer digital capacitance table design code )
    2013-04-26 16:02:20下载
    积分:1
  • WatchDog
    关于MSP430F149的看门狗定时器系统开发例程。(About MSP430F149 watchdog timer system development routines.)
    2016-11-23 19:04:52下载
    积分:1
  • cart-pole3
    robot Puma 365 controlled by PID Fuzzy
    2013-12-11 22:51:35下载
    积分:1
  • chaoshengboceju
    超声波测距(5 28线性处理),测量线性度很高(Ultrasonic Ranging (528 linear processing), high linearity measurements)
    2013-09-01 21:20:13下载
    积分:1
  • f410-PWM
    利用定时器产生PWM,使LED灯由亮到灭,由灭到亮逐步变化( Use timer produce PWM, make the light to destroy LED lamp, the gradual change to light out )
    2011-12-10 23:40:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载