登录
首页 » Visual C++ » ds1

ds1

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

  • Text1
    用单片机产生频率,占空比可调的方波,这是C语言的原代码。(Produced with single-chip frequency, variable duty cycle square wave, which is the C language source code.)
    2011-09-17 10:53:43下载
    积分:1
  • DL645
    电力系统电度表通讯协议,主要针对DL645协议标准(Power system meter communication protocol, mainly for DL645 protocol standards)
    2013-10-23 22:13:10下载
    积分:1
  • 130110
    控制蜂鸣器pic18单片机程序,测试通过,已批量生产。(Pic18 microcontroller program to control the buzzer)
    2014-01-24 10:44:16下载
    积分:1
  • jianpan
    单片机键盘控制,可用外接键盘来向单片机输入数字(control of the keyboard)
    2011-12-21 19:26:13下载
    积分:1
  • msp430-xiangweichaceliang-
    基于MSP430的可以测量方波的相位差的程序,精确到小数点后3位,double型数据(msp430 相位差测量)
    2015-07-26 22:48:36下载
    积分:1
  • BJDJCS
    单片机为at89s52控制步进电机正反调速实验,(The stepper motor positive and negative control experimental)
    2013-04-25 16:40:30下载
    积分:1
  • SV_PWM
    tms320F28335是一款新的dsp芯片,svpwm算法的实现和以前的2812等有点不同,现在将我写的分享给大家,已经调试过了,晶振是20MHz。28335的svpwm的实现。(tms320F28335 is a new dsp chip, svpwm algorithm implementation and the previous 2812 and so a little bit different, now I write for everyone to share, debugging, and the crystal is 20MHz. 28335 svpwm implementation.)
    2014-02-18 10:21:36下载
    积分:1
  • STM32--radio
    通过芯片STM32以实现一般录音机功能,详情可看内部文件(STM32 through the chip in order to achieve the general recorder function, the details to see internal documents)
    2013-07-10 09:21:53下载
    积分:1
  • V4-400_RTX实验_库移植方式(超级简单)
    RTX实时操作系统是应用于小型嵌入式多任务准并行操作系统实时性高系统性能好(RTX real-time operating system is applied to a small embedded multi task quasi parallel operating system with high real-time performance and good performance.)
    2017-11-30 15:04:22下载
    积分:1
  • 74LS373wuxiantuozhan
    基于c51单片机的74ls373芯片无限拓展功能的源代码,(学院里写的)(Based on 74 c51 ls373 chip infinitely function source code, written in the (college))
    2015-12-09 16:44:53下载
    积分:1
  • 696518资源总数
  • 104444会员总数
  • 15今日下载