登录
首页 » Visual C++ » ds1

ds1

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

  • Matlab_Butter
    用C语言实现matlab的butter函数中低通和带通功能,高通和带阻没写,有兴趣的可以自己加入.(Using C language to achieve matlab butter function low-pass and band-pass function, high pass and band stop did not write)
    2017-10-23 13:47:38下载
    积分:1
  • DALI-Unit
    DALI调光详细讲解,软硬件齐全,不可多得的好材料(DALI dimming elaborate hardware and software is complete, the rare good material)
    2011-01-28 15:18:46下载
    积分:1
  • guangyixingzhi
    求质立方体的广义星轵发,用于数字系统设计自动化(seeking quality cube of generalized end of axle outside of hub-made for digital system design automation)
    2007-05-22 18:42:52下载
    积分:1
  • Imager_SDK_14.12.20086
    Pocket 2003 Imager_SDK_14.12.20086 for software engineereing.
    2014-01-07 17:21:36下载
    积分:1
  • uCGUI_uCOS-II
    在STM32F4平台上移植的ucos-ii和ucgui,很适合正在学习ucos-ii和ucgui的朋友(On STM32F4 porting ucos-ii and ucgui, very suitable for studying ucos-ii and ucgui friend)
    2014-02-23 18:49:26下载
    积分:1
  • ZB220GDNZ_PSR
    ZB220GDNZ_PSR测控装置的IEC61850配置的icd文件(ZB220GDNZ_PSR of IEC61850)
    2014-01-03 14:32:59下载
    积分:1
  • PSCAD_SVPWM
    PSCAD做的风电变流器网侧变换器,7断式svpwm调制,运行良好。(PSCAD do wind power inverter side converter, 7 broken type SVPWM modulation, work well.)
    2017-01-01 18:10:53下载
    积分:1
  • infrared-transmitting-receiving-
    本文包括红外发射和接收模块,以及和他们相关的资料信息 (In this paper, including the infrared emission and receiving module, and their related information)
    2015-04-14 12:07:28下载
    积分:1
  • CSparse.tar
    direct sparse solver for linear equations
    2014-01-02 20:05:09下载
    积分:1
  • uC-Eval-STM32F107_OS_II
    在stm32微控制器上ucosii移植。开发环境IAS(The stm32 ucosii transplantation)
    2012-05-11 15:31:12下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载