登录
首页 » Visual C++ » ds1

ds1

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

  • 1.17
    假定一维整型数组a[n]中的每个元素值均在[0,200]区间内,分别统计出落在[0,20],[20,50],[50,80],[80,130],[130,200]等各区间内的元素个数;(Assume a one-dimensional integer array a [n] each element of the values ​ ​ are in the range [0,200] interval, respectively, the statistics fall [0,20], [20, 50], [50, 80], [, 130] , element number [130,200], etc. of each interval )
    2015-11-17 23:09:58下载
    积分:1
  • MK5238AProgram
    电池保护板检测,检测电池的电压、电流和温度代码。 (Battery protection board testing, test the battery voltage, current and temperature code.)
    2016-08-23 17:09:56下载
    积分:1
  • Project1
    其实如果是单纯的下载网页,代码可以更简单,但俺这段代码不仅可以下载WEB页面,同时还可以向WEB页传递参数,完全可以替换XMLHTTP的GET功能,俺本来还想加上POST功能的,后来项目中不需要,所以就没加了,想了解WININET API的朋友,应该依此作一些扩展。(In fact, if a simple download page, the code can be more simple, but I can not download this code WEB page, but you can also pass parameters to the WEB page, can replace the XMLHTTP GET function, I had wanted to add functionality POST , then the project does not need, so I can not add, and want to know WININET API friends, so it should make some extensions.)
    2014-05-12 10:06:27下载
    积分:1
  • WatchDog
    关于MSP430F149的看门狗定时器系统开发例程。(About MSP430F149 watchdog timer system development routines.)
    2016-11-23 19:04:52下载
    积分:1
  • MSP430_motor
    2相四线八拍步进电机程序,可以正转反转,加减速(2 phase four line 8 stepper motor)
    2015-01-12 15:09:15下载
    积分:1
  • Android-andbook
    Android编程入门教程andbook中文版(this book is fit for the beginners)
    2015-11-15 15:35:33下载
    积分:1
  • 第00部分-Web技术历史
    从数据挖掘的应用出发,以电力、航空、医疗、互联网、生产制造以及公共服务等行业...python数据分析与挖掘实战 源码 代码 配套资源 立即下载 上传者: ...(fsadasdassfafasfasdasdsafasfasdasdasdasfasdasdas)
    2018-02-09 10:37:38下载
    积分:1
  • SD-card
    MSP430F149控制SD卡读写操作,支持FAT16文件系统(The MSP430F149 Control SD card read and write operations to support the FAT16 file system)
    2013-05-15 10:09:44下载
    积分:1
  • 80c52
    基于单片机控制I/O 和模拟电压线性输出,用于基本系统控制(failed to translate)
    2013-05-06 15:12:22下载
    积分:1
  • changkouLED
    通过上位机来控制LED显示的数字内容,主要是动态显示数字变化情况(Through the host computer to control the LED display digital content, mainly dynamic display of digital changes)
    2013-04-29 19:04:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载