登录
首页 » Visual C++ » ds1

ds1

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

  • lex_weight
    lexical analysis of text detail program...
    2009-11-13 05:34:53下载
    积分:1
  • DAC
    STM32F407信号发生器输入一个正弦波,AD采样,DA输出,系统频率应该是输入的波形的频率的10倍以上保证输出波形的完整性,系统的输出频率可以使用示波器测试出。(Stm32f407 signal generator input a sine wave, AD sampling, Da output and system frequency should is 10 times the frequency of the input waveform to guarantee that the above output waveform of integrity, the output frequency of the system can use oscilloscope to test out. )
    2021-02-06 15:19:57下载
    积分:1
  • Debenu-Quick-PDF-Library-Guide
    给大家介绍一个PDF操作的sdk。通过这个sdk你可以直接对PDF文件进行显示、修改、新建及打印(Debenu Quick PDF Library Guide)
    2015-08-28 21:20:31下载
    积分:1
  • 5.Matrix-key
    矩阵按键测试程序, 输出结果用串口传输到上位机显示(Matrix key test program, the output with serial transmission to the PC)
    2014-02-26 20:25:41下载
    积分:1
  • beep-super-mario-song2
    用单片机c51编写的程序 使用蜂鸣器发出超级玛丽的音乐(C51 microcontroller programs written with use of the buzzer Super Mario music)
    2011-04-22 08:08:05下载
    积分:1
  • 12864
    AVR128显示部分,用12864作为显示的程序代码,已经调试通过(AVR128 display section, with 12864 as display the program code, have debugging through)
    2011-12-20 15:04:21下载
    积分:1
  • 2011-new-phishing-pages
    QQ二代密保钓鱼(优化版)QQ二代密保钓鱼(优化版)(QQ second secret security fishing (optimized version))
    2011-12-17 02:25:40下载
    积分:1
  • lax-wendroff
    lax-wendroff求前台阶超声速流动(lax-wendroff format)
    2021-04-09 16:18:59下载
    积分:1
  • MotorCtrl
    PID控制,包括算法,控制阶梯列表,算法步进(PID control, including algorithms, control ladder list, the algorithm step)
    2009-02-26 11:40:55下载
    积分:1
  • STM32_EXTI
    STM32单片机开发例程,这里是外部中断的开发例程(STM32 MCU development routines, here is the development of the external interrupt routine)
    2014-04-13 16:48:03下载
    积分:1
  • 696518资源总数
  • 105084会员总数
  • 17今日下载