登录
首页 » Visual C++ » ds1

ds1

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

  • ADC
    stm32f103系列芯片,adc的编码实现(stm32f103 series chip, adc Coding)
    2013-03-23 09:31:29下载
    积分:1
  • insert
    对于单片机上的一些简单的开发程序和他们的应用(For some simple microcontroller development process and their application)
    2014-08-07 15:08:42下载
    积分:1
  • shouchizhongduan
    多媒体教学设备广泛应用在各类学校和企业培训部门,研制简便、高效的多媒体数字教学系统具有重要的实际意义。(Multimedia teaching equipment widely used in all types of schools and corporate training departments, developed simple and efficient multimedia digital teaching system has important practical significance.)
    2014-03-03 16:20:03下载
    积分:1
  • ADC
    基于蓝牙协议栈BLE4.0的模块CC2541的ADC采集实验(Stack BLE4.0 module CC2541-based Bluetooth protocol ADC acquisition experiment)
    2016-04-29 00:27:58下载
    积分:1
  • adc
    对ad7685的详细运用。加上12864显示。有电路图、芯片资料(Detailed use of ad7685 plus 12864 shows)
    2013-08-21 14:37:18下载
    积分:1
  • READ_STC11-10Fxx-2008-11-17
    这是单片机的一个非常好的一个资料,大家可以参考一下,单片机是个非常有用的入门级的,以后学ARM就非常简单了!学单片机最重要的就是看芯片资料(This is a very good single-chip data, we can refer to the microcontroller is a very useful entry-level, after school ARM is very simple! The most important thing is to learn microcontroller chip information see)
    2011-10-04 09:49:07下载
    积分:1
  • chaoshengboceju
    超声波测距(5 28线性处理),测量线性度很高(Ultrasonic Ranging (528 linear processing), high linearity measurements)
    2013-09-01 21:20:13下载
    积分:1
  • Heart-rate
    ECG for msp430心电数据采样及LCD显示,官方样板程序。(ECG for msp430 )
    2015-01-30 14:51:50下载
    积分:1
  • stm32
    这是基于STM32的室内环境监测毕业设计,主要是检测了温湿度和关照强度,同时实现了数字万年历的显示,开发板为野火的。(This is based on the STM32 indoor environment monitoring graduation design, to detect the temperature and humidity, and take care of intensity, while achieving a digital calendar display development board wildfire.)
    2013-04-16 17:11:29下载
    积分:1
  • i2c
    430 单片机的i2c程序,430有i2c集成(this is an I2C program of 430)
    2015-03-06 19:37:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载