登录
首页 » Visual C++ » ds1

ds1

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

  • SPI_two_protues
    个人开发使用的SPI双机通讯,是基于Atmage128的开发,特别对初学者具有很高的参考价值,程序调试通过,而且有protues仿真。(Personal development of dual-use SPI communication is Atmage128 based development, especially with a high reference value for beginners, program debugging through, and there protues simulation.)
    2014-03-17 08:33:31下载
    积分:1
  • PT2314AUDIO
    基于51单片机的PT2314音频功放程序,可实现MIC和音频输入切换及音量音调控制,并用5110显示(Based on 51 single-chip audio amplifier PT2314 program can achieve MIC and audio input switching and volume tone control and display with 5110)
    2014-07-29 11:04:11下载
    积分:1
  • Fms
    自动化生产线的总控程序,基于modbusrtu从站为西门子,s7_200,源代码中涉及大量工业控制技术思路以及原理(I dont know how to write sorry.)
    2016-09-06 21:01:41下载
    积分:1
  • msp430g2553pinlvji.c
    基于MSP430G2553的频率计数计的程序编写,已经过测试,程序无误可以完整运行。(Based on the frequency count MSP430G2553 meter programming, has been tested, the program can complete run correctly.)
    2013-08-17 11:33:17下载
    积分:1
  • Simulate-the-elevator-system
    模拟电梯控制系统程序设计代码,用户可输入任意楼层,程序有先来先服务策略和顺便服务策略。(Elevator control system design simulation program code, the user can enter any floor, the program has first come first serve policy and the way services strategy.)
    2014-12-12 22:43:13下载
    积分:1
  • STM32F4xx(start-and-library)
    stm32f4xx包含启动文件(starup_stm32f4xx.s,system_stm32f4xx.h,system_stm32f4xx.c,system.h)和库函数(stm32f4xx intialize files and library)
    2013-10-26 20:03:08下载
    积分:1
  • 步进电机
    通过单片机输入程序来对步进电机进行控制,以此实现一定功能。(Stepping motor single chip microcomputer)
    2017-11-21 17:22:36下载
    积分:1
  • TSW_SDK_6206
    同三维万能采集卡系列开发SDK包,包含例程等! (With three-dimensional universal capture card series development SDK package includes routines, etc.!)
    2013-06-17 11:52:46下载
    积分:1
  • STC12C5A60S2_Uart_Str
    该例程演示了接 联合开发网 - pudn.com
    2020-06-26 18:20:02下载
    积分:1
  • pro_dds
    说明:  基于STC51单片机,实现dds的算法部分(Based on 51, the algorithm part of the realization of dds)
    2010-05-03 15:54:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载