登录
首页 » Visual C++ » ds1

ds1

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

  • Stepper-motor-drive-source
    步进电机28BYJ48型四相八拍电机,电压为DC5V—DC12V。当对步进电机施加一系列连续不断的控制脉冲时,它可以连续不断地转动。每一个脉冲信号对应步进电机的某一相或两相绕组的通电状态改变一次,也就对应转子转过一定的角度(一个步距角)。当通电状态的改变完成一个循环时,转子转过一个齿距。四相步进电机可以在不同的通电方式下运行,常见的通电方式有单(单相绕组通电)四拍(A-B-C-D-A。。。),双(双相绕组通电)四拍(AB-BC-CD-DA-AB-。。。),八拍(A-AB-B-BC-C-CD-D-DA-A。。。)(Stepping Motor 28BYJ48 four-phase eight-phase motor, the voltage DC5V-DC12V. When a series of continuous control pulses are applied to the stepper motor, it can be continuously rotated. Each pulse signal corresponds to the stepper motor of a phase or two-phase winding power state change once, also corresponds to the rotor through a certain angle (a step angle). When the change in the power-on state completes one cycle, the rotor turns one pitch. Four-phase stepper motors can be operated in different power-up modes. The common power-up modes are: single-phase winding power (ABCDA ...), double (dual-phase winding)-DA-AB-...), eight beats (A-AB-B-BC-C-CD-)
    2020-09-12 06:57:59下载
    积分:1
  • digital
    基于单片机STC89C51和74LS164的多功能数字万用表(Based on microcontroller STC89C51 and 74 ls164 multi-function digital multimeter)
    2013-08-29 22:40:03下载
    积分:1
  • nrf9051
    无线通讯nrf905,很适合初学者来学习,里边包括了对射频寄存器的设置什么的(Wireless communication nrf905, it is suitable for beginners to learn, inside contains the settings for RF registers what)
    2013-12-02 20:34:57下载
    积分:1
  • z
    说明:  足球机器人小车总体设计思想及其单片机选型(The soccer robot car overall design thinking its microcontroller selection)
    2013-03-26 10:18:45下载
    积分:1
  • temperature-control
    单片机温度控制代码,用于基本的测试及基本的编写(temperature control code,use for normal test)
    2014-03-16 17:05:48下载
    积分:1
  • stm32f4xx_flash
    NPN silicon planar epitaxial transistor encapsulated in a SOT223 surface mounted envelope and designed primarily for use in hand-held radio equipment in the 470 MHz communications band.
    2014-07-09 15:09:54下载
    积分:1
  • Flashing-an-LED
    不同頻率閃爍一個LED燈 用sbit 關鍵字 定義 LED到P0.0端口,LED是自己任意定義且容易記憶的符號(Flashing an LED light at different frequencies)
    2011-11-03 10:42:47下载
    积分:1
  • date
    万年历开发 时间Calendar Development - Time(Calendar Development- Time)
    2013-12-08 17:22:11下载
    积分:1
  • signal
    本系统以单片机AT89C52为核心,以数模转换器DAC0832实现方波、正弦波、三角波、锯齿波波形的输出,实现信号发生器的简易功能。(This system with single chip microcomputer AT89C52 as the core, with digital to analog converter DAC0832 achieve square wave, sine wave, triangle wave, sawtooth wave form output, realize the simple function of the signal generator.)
    2020-11-02 17:19:53下载
    积分:1
  • Sat889c51snd1C
    at89c51snd1单片机SCMM的mp3播放程序源码 (SCMM at89c51snd1 microcontroller mp3 player source code)
    2012-07-16 09:46:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载