登录
首页 » Visual C++ » ds1

ds1

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

  • MPPT1
    MPPT,最大功率跟踪,使用STC12R5608AD作主控芯片。原理图,程序完整。直接烧录即可使用。PCB就不上传了,自己画一下。研究生课程设计的作品(MPPT, MPPT using STC12C5608AD as master chip. Schematics, program integrity. Direct burn to use. PCB not uploaded Kazakhstan, she painted it. Graduate course design work)
    2013-08-20 21:52:28下载
    积分:1
  • LTE_UL
    仿真过程中,将改进算法那与经典算法进行比较,通过对仿真数据如系统时延、系统丢包概率以及系统吞吐量的比较分析,评估改进算法的正确性和性能。(Simulation process, the improved algorithm that compares with the classical algorithm, through the simulation data system latency, packet loss probability of the system as well as a comparative analysis system throughput, improved assessment of the correctness and performance of the algorithm.)
    2014-05-05 12:12:19下载
    积分:1
  • UART
    串口0通信-查询方式实验向串口发送子节数据,并等待数据发送完成,使用查询方式(Serial 0 communication- ways to experiment sub-section to the serial port to send data and wait for the data transmission is complete, use the query mode)
    2013-02-25 10:49:00下载
    积分:1
  • MCUchip
    单片机常用芯片手册,非常实用,初学者适合(Commonly used single-chip chip manual, very practical, suitable for beginners)
    2009-03-09 19:48:44下载
    积分:1
  • 74ls164
    51单片机驱动74ls164程序 (51 Microprocessor 74ls164 program)
    2010-12-06 17:07:02下载
    积分:1
  • 1-LED
    S3C2440 TEST PROGRAMM
    2016-02-23 05:40:10下载
    积分:1
  • Key
    msp430f149按键程序,非常完整,带中断,输入,输出(msp430f149 key procedures)
    2014-06-13 15:06:31下载
    积分:1
  • global-variable
    Visual Studio C++ 编程入门 全局变量(Visual Studio C++ programming entry of global variables)
    2014-11-11 15:09:28下载
    积分:1
  • 13-5-1
    电子时钟的小程序,基于89c51单片机,可以实现定时、计时、修改时间等功能。(Electronic clock applet, based on 89c51 microcontroller, can achieve timing, timing, modification time and other functions.)
    2013-11-17 09:35:47下载
    积分:1
  • Light-water
    电协开发板 C51单片机程序,用于实现单片机的流水灯输出(Electric Association C51 microcontroller development board procedures for the realization of single-chip light water output)
    2013-10-27 11:07:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载