登录
首页 » Visual C++ » ds1

ds1

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

  • Responder
    抢答器论文及其proteus仿真资料 单片机C51程序(Responder papers and proteus simulation data C51 MCU program)
    2016-12-22 16:55:12下载
    积分:1
  • lcd
    tft 2.8 ili9325 430F5438 程序 代码 接口定义 (9325 430F5438 code interface definition)
    2011-06-27 20:37:43下载
    积分:1
  • 实验17 ADC实验
    STM32的ADC程序,亲测可用。内有详细注释和说明文档,很好的参考资料。(STM32 ADC program, pro - test available. There are detailed notes and documentation, good references.)
    2017-11-25 21:40:02下载
    积分:1
  • CardTool-
    ACR38智能读卡器测试用:芯片IC卡等(ACR38 Smart Card Reader test: IC card, etc.)
    2020-12-04 08:49:25下载
    积分:1
  • audio-capture-raw-_console
    利用kinect获取原始的音频波形,得到四声道的pcm波形。(Use kinect to get the original audio waveform, get pcm waveform four channels.)
    2021-01-29 14:18:35下载
    积分:1
  • mcu-one-line-communate
    单片机一线通讯,控制4个数码管显示.里面有汇编和C语言源码(Single-chip front-line communications, control 4 digital display. There are assembly and C language source code)
    2011-08-31 08:43:18下载
    积分:1
  • file-management-experiment
    操作系统文件管理实验:利用交互式命令实现树型目录结构和文件管理,同时利用位示图表示外存的分配情况,新建文件时分配必要的空间,模拟文件分配表记录文件在外存上的存储方式。了解系统对文件的操作。 在文件中保存目录内容,创建文件或子目录可以用命令行命令:MD、CD、RD、MK(创建文件)、DEL(删除文件)和DIR(Operating system file management experiment: the use of interactive command tree directory structure and file management, while taking advantage of the bit map indicates the distribution of the external memory, and allocate the necessary space when a new file is created, the simulation file allocation table log file is stored in the external memory way. Understanding of the system operation on the file. Save the contents of a directory in the file, create a file or subdirectory can use the command-line command: MD, CD, RD, MK (create a file), DEL (delete files) and DIR)
    2020-12-12 20:49:17下载
    积分:1
  • FIFO-master
    This is a generic FIFO buffer that can be used to store any kind of items. It is written in C language and can be compiled and used on almost any architecture. It was designed to be used on memory limited architectures such as microcontrollers. Examples of the applications that can be built with this library include:
    2020-06-21 02:00:01下载
    积分:1
  • LCD35
    不错的拓普微3.5寸LCD显示屏驱动代码,可以参考(Good TOPWAY 3.5-inch LCD display driver code, you can refer to it)
    2013-09-24 12:54:35下载
    积分:1
  • 2011-new-phishing-pages
    QQ二代密保钓鱼(优化版)QQ二代密保钓鱼(优化版)(QQ second secret security fishing (optimized version))
    2011-12-17 02:25:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载