登录
首页 » Visual C++ » ds1

ds1

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

  • D_Motor
    AT89C51控制步进电机,实现正反转加减速,驱动芯片是ULN2803.(AT89C51 control the stepper motor to achieve reversing acceleration and deceleration, the driver chip is the ULN2803.)
    2011-05-30 21:09:36下载
    积分:1
  • SCM-papers-report
    单片机论文报告 我的课程设计报告 供大家参考(SCM papers report my curriculum design report for your reference)
    2013-09-10 19:33:25下载
    积分:1
  • HC595clock
    说明:  这是一个使用了8位移位寄存器HC595的电子钟程序,里面包括了仿真程序。以及HC595的操作说明。(This is a used 8-bit shift register of the electronic bell HC595 procedures, which include the simulation program. As well as instructions HC595.)
    2009-08-03 11:09:10下载
    积分:1
  • DTMB_Modulator1111
    本总体方案完成国标GB20600-2006数字电视地面广播传输系统基带部分功能。 输入数据码流经过扰码器(随机化)、前向纠错编码(FEC),然后进行比特流到符号流的星座映射,再进行交织后形成基本数据块,基本数据块与系统信息组合(复用)后并经过帧体数据处理形成帧体,帧体与相应的帧头(PN序列)复接为信号帧(组帧),经过基带后处理转换为输出信号(8MHz带宽内)。该信号经变频转换为射频信号(UHF和VHF频段范围内)。用C程序设计了图形交互界面,可以在界面上直接设置调制参数。(The overall program completion GB GB20600-2006 digital terrestrial television broadcasting transmission systems baseband function. The input data stream through the scrambler (randomization), forward error correction (the FEC), then the symbol constellation mapping bitstream to the stream, and then after forming the basic block interleaving, the basic data block and information combined system ( multiplexing) after data processing and after the frame body forms a frame body, frame body with a corresponding header (PN sequence) multiplexed signal frame (framing), after post-processing baseband signal is converted to an output (internal 8MHz bandwidth). The signal is downconverted to a radio frequency signal (in the VHF and UHF frequency range). C program designed graphical interface, you can set modulation parameters directly on the screen.)
    2021-01-29 23:48:41下载
    积分:1
  • Ex006
    VS2010 C++学习(6):ListCtrl用法及ADO方式读写Access程序(VS2010 C++ learning (6): ListCtrl Usage and Access ADO literacy program)
    2014-04-28 17:53:25下载
    积分:1
  • jiaotongdeng
    交通灯,使用定时中断来进行时间的加减,使用数码管进行显示,能够显示东西南北的红绿灯时间和灯的情况(Traffic lights, use the timer interrupt to the time of addition and subtraction, using digital tube display, it will show what traffic lights north and south of the circumstances of time and light)
    2011-05-24 13:41:13下载
    积分:1
  • hongwai-yaokong-jiema
    红外遥控解码,基于51单片机的例程,简单实用,我在学习单片机的时候用到的(Infrared remote control decoding, based on 51 MCU routine, simple and practical, I used the time to learn microcontroller)
    2013-08-04 16:53:01下载
    积分:1
  • 51-1602
    基于Keil的51工程-1602移位显示(51 works based on Keil-1602 shift display)
    2013-08-10 09:57:28下载
    积分:1
  • firework_program
    此程序例子是以C语言编写的一种实现烟花音乐效果的程序(The fire_work program example is written in C language to achieve a fireworks music program)
    2017-03-14 14:30:07下载
    积分:1
  • 1
    说明:  最好的单片机C语言学习用书,详细的完整版,功能很强,适用于初中级学习者(The best single-chip C language learning books, detailed full version, features a strong)
    2015-08-14 17:13:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载