登录
首页 » Visual C++ » ds1

ds1

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

  • WASPCN
    根据IAPWS-IF97和IFC67编写的水和蒸汽性质计算软件(the software for calculating the properties of water and water vapor)
    2015-01-31 11:45:07下载
    积分:1
  • ZYCainiao_sch_pcb
    自己画的四轴飞行器,原理图,pcb。。。。。。。。。。。。。。。。。。。。。。。为了20个子,我真的不容易(Own painting Four aircraft, schematics, pcb)
    2013-09-22 16:23:55下载
    积分:1
  • extraction-of-high-frequency-data
    新浪网页上提取债券数据 实时的高频数据(Real-time data extraction bonds frequency data on the Sina website)
    2013-11-27 14:30:10下载
    积分:1
  • Key
    msp430f149按键程序,非常完整,带中断,输入,输出(msp430f149 key procedures)
    2014-06-13 15:06:31下载
    积分:1
  • 240128t6963c
    液晶240*128驱动 用的是PIC单片机 但是可以改 51单片机 里面驱动都一样 就是 拿过来就可以用 (LCD 240* 128 drive using a PIC microcontroller, but can be changed inside the microcomputer 51 is to take over the same driver can be used)
    2020-11-16 09:29:42下载
    积分:1
  • rate_matching
    LTE中的速率匹配部分,在turbo编码后使用。已经分好模块,包括子块交织以及比特收集和修剪等部分。(Rate matching section in the LTE turbo coding. Has been divided into many modules, including the part of the sub-block interleaving and bit collection and pruning.)
    2012-07-02 19:56:27下载
    积分:1
  • UART
    ARM串口应用例子,适用于NXP23系列CPU,封闭式总线,采用内部FLASH及RAM.(ARM serial port application example for NXP23 series CPU, closed-end bus, using the internal FLASH and RAM.)
    2009-12-27 15:23:16下载
    积分:1
  • 160160
    160160程序,160160模块电表使用比较多,供参考(160 160 procedures, 160 160 more modules to use the meter, for reference)
    2021-01-19 11:48:42下载
    积分:1
  • Standard-CPP
    美国编制C++教程,提高C++编程质量,有利于学习资料,对初学者和入门的都有很提高。(Improve the quality of C++ programming, in favor of learning materials for beginners and entry has very improved)
    2014-01-13 16:35:32下载
    积分:1
  • xs128AD
    飞思卡尔单片机xs128AD模数转换代码(Freescale microcontroller xs128AD of analog-to-digital conversion code)
    2013-04-30 11:00:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载