登录
首页 » Visual C++ » ds1

ds1

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

  • HSDL7001PDF
    红外通信装置 HSDL-7001PDF资料(Infrared communication device HSDL- 7001 PDF data )
    2014-08-07 20:48:06下载
    积分:1
  • Beginning-Visual-C_-2012-Programming
    Beginning Visual C_ 2012 Programming
    2014-10-25 22:47:42下载
    积分:1
  • STM32_IMU_OLED
    使用STM32F103C8T6处理器和OLED显示屏,传感器为IMU AHRS ,实现了串口通信读取数据,并可以使用桌面调试软件读取串口数据。(stm32f103c2t6,oled,imu ahrs)
    2015-07-26 20:10:28下载
    积分:1
  • zhongjile
    通过51单片机设计一个电子时钟,精确到秒,可以通过按键调节时间(By 51 microcontroller design an electronic clock, accurate to seconds, you can adjust the time by pressing a button)
    2013-11-14 09:56:13下载
    积分:1
  • ev1527
    基于一款EV1527的解码程序,配合330K震荡电阻使用(Based on the a EV1527 decoding program, with the use of 330K shock resistance)
    2020-09-08 20:18:04下载
    积分:1
  • zhaopinqiuzhi-asp
    全功能无限制。 后台登录mgr/login.asp 高级管理员websoa密码webs-oa.com 管理员admin密码admin 信息录入员hx密码hx888
    2013-07-26 08:38:25下载
    积分:1
  • GUI-MFC
    GUI MFC USE FOR ABSENCE APLLICATION USING GABOR WAVELET. IT USE FOR FACE RECOGNITION IN BUILDING PRESENCE
    2017-03-21 07:16:07下载
    积分:1
  • DD
    运行该程序,就能显示一个网址,该网址免费为大家寻找兼职工作。 我发现一个网址。该网址免费为大家寻找兼职工作。 详情见:http://blog.sina.com.cn/s/blog_4556d5d40101f16q.html (Run the program, you can display a URL that free for everyone looking for a part-time job. I found a web site. The site free for everyone looking for a part-time job. Details are: http://blog.sina.com.cn/s/blog_4556d5d40101f16q.html)
    2014-05-11 10:30:49下载
    积分:1
  • FAT32
    FAT32文件系统移植到UC/OS中,实现对sd卡的操作(FAT32 file system migration to UC/OS, the realization of the operation of the sd card)
    2011-07-04 15:43:17下载
    积分:1
  • s
    说明:  无线通信接受模块程序,内含数模转换应用程序。(Wireless receiving module program that includes digital to analog conversion applications.)
    2011-07-20 09:29:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载