登录
首页 » Visual C++ » ds1

ds1

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

  • 685d
    一款交友软件,很易用,年收益学,3分钟学会。(you can have a new friend easierly,a soft for netfriend.)
    2011-06-05 14:09:13下载
    积分:1
  • Calculate-the-position-of-the-sun
    计算太阳位置,通过公式!用单片机编译程序!(Calculate the position of the sun through the formula! Microcontroller compiler!)
    2012-12-18 22:09:24下载
    积分:1
  • 1303
    单片机驱动的OLED显示屏,单色绿光。C语言(Single-chip-driven OLED display, monochrome green. C language)
    2008-12-21 21:01:57下载
    积分:1
  • dmx232_250
    灯光协议的DMX12 的源代码,单片机编写(mifare)
    2010-10-28 17:26:52下载
    积分:1
  • process-and-thread-Technology
    进程和线程技术 Linux和windows进程创建 进程和线程通信 文档+实例分析(process and thread Technology Text and examples)
    2012-01-05 10:51:28下载
    积分:1
  • 10GenericMFC
    电子时钟程序,通过VC++编程,实现电子时钟程序,方便编程爱好者交流学习。(Electronic clock procedures, through VC++ programming, electronic clock procedures to facilitate the exchange of learning programming enthusiasts.)
    2013-07-11 14:29:17下载
    积分:1
  • RC500
    51单片机考勤系统下位机程序,可以配合上位机软件实现考勤功能,将hex文件下载到51单片机即可使用(51 MCU control procedures can be achieved with the PC software attendance function, the hex file into the microcontroller 51 can be used)
    2013-11-07 21:16:47下载
    积分:1
  • led-advertising-lamp
    本程序能够实现广告灯的往正反方向来回移动。(Procedures to achieve the advertising lights move back and forth to the positive and negative direction.)
    2013-04-23 22:14:05下载
    积分:1
  • WinAvraAvrStudio
    AVRstudio和winavr的联用,多个文档,对于刚刚入门的单片机爱好者们非常有用。(AVRstudio and winavr hyphenated, multiple documents, for just getting started microcontroller enthusiasts very useful.)
    2013-09-19 17:11:03下载
    积分:1
  • pgr7
    scaling triangle using scaling transformation algorithm
    2014-10-17 14:09:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载