登录
首页 » Visual C++ » ds1

ds1

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

  • CCU6
    很适合英飞凌单片机的初学者,可作为初学者的很好的参考资料。(Infineon microcontroller is suitable for beginners, as a good reference for beginners.)
    2015-02-04 09:39:57下载
    积分:1
  • MixedColor
    测试反应速度的android游戏。c++语言源代码。(a android game which tests your reaction speed. )
    2020-09-15 09:17:57下载
    积分:1
  • marmousi
    marmousi模型的sgy数据体,地震偏移成像必备模型,本模型的sgy格式支持有/无卷头微机和有卷头工作站格式,欢迎广大地震工作者下载(This is the Marmousi model in sgy format,which is essential for Seismic migration imaging.)
    2021-04-23 23:28:47下载
    积分:1
  • SCM-off-cable-detection
    单片机电缆通断检测系统,可以实现电缆短路和断路(SCM off cable detection system, the cable can short-circuit and open circuit)
    2015-04-14 11:27:00下载
    积分:1
  • footprint-of-MQ-135
    这是一个气体传感器的元件封装库,型号为mq-135,使用dxp开发。(This is a gas sensor element package repository, model mq-135, using dxp development.)
    2014-05-19 13:30:31下载
    积分:1
  • sdcard-at91sam7a3
    at91sam7a3在iar下的sdcard例程,调试通过,可以作为学习参考(at91sam7a3 the sdcard routine, under the iar through debugging, can be used as a study reference)
    2012-10-24 15:21:34下载
    积分:1
  • Beginners-lcd1602_
    lcd1602单片机万年历,不开多得的好资料,你看了肯定不会后悔。(Beginners lcd1602)
    2011-10-20 08:15:33下载
    积分:1
  • modbus_x
    modbus规约通讯测试小工具-工作空间。利用mfc实现modbus串行通信(Modbus protocol communications test tool- work space. Using MFC to achieve MODBUS serial communication )
    2016-01-27 10:18:08下载
    积分:1
  • tongbujianPtiaobian
    这是一个为数不多的用C语言编写的PIC12C508的RGB灯的小型控制器,交流同步信号检测,七彩跳变+七彩渐变,做LED的朋友可以参考,程序可以直接使用的;(This is a small controller RGB lights a few written by C PIC12C508, AC synchronous signal detection, colorful jump+ colorful gradient, do LED friends can reference, the program can be used directly )
    2013-09-09 16:24:18下载
    积分:1
  • FSMC
    stm32F103 利用fsmc接口驱动液晶屏显示BMP图片(stm32F103 show BMP picture)
    2016-05-15 14:00:20下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载