登录
首页 » Visual C++ » ds1

ds1

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

  • androiwifi-Instruc-(1)
    安卓控制系统的手机无线控制系统示范例子代码,手机/无线,代码(Andrews control system mobile wireless control system demonstration sample code, mobile/wireless, Code)
    2015-07-30 17:50:46下载
    积分:1
  • aes
    AES128/196/256 加解密源码,可实现ECB模式加密,HEX输出。密码及明文没有补齐功能,需手动补齐。无需特殊库文件,适合单片机使用。已测试,可正常使用。(AES128/196/256 encryption source code, can achieve ECB mode encryption, HEX output. The password and the plaintext without the need to manually fill up function. No special library files, suitable for single use. Has been tested, can be used normally.)
    2015-12-30 09:30:04下载
    积分:1
  • My-clock
    本程序为单片机红外遥控液晶万年历程序。本程序包括ds1302时钟部分,ds18b20部分,红外遥控等部分(The program for the infrared remote control MCU LCD calendar program. The program including of ds1302 clock parts, ds18b20 part, infrared remote part)
    2013-04-14 16:01:38下载
    积分:1
  • 27797
    电话语音管理系统的工程项目代码,需要的请拿去使用吧,任意修改!(Telephony management system project code chunks, arbitrary changes)
    2012-04-07 16:17:46下载
    积分:1
  • bank1
    C++初学者的经典范例,非常典型的范例,是我自己学习过程中亲手编译调试通过的!(very good examples 1)
    2013-04-08 18:26:18下载
    积分:1
  • f32_mulAdd
    32位单精度浮点数的乘加运算的C编程,感兴趣的可以看一下(Single-precision floating-point multiply-add operation of the C programming, interested can look at)
    2015-10-10 09:18:26下载
    积分:1
  • Digital-loop-display
    数码管的显示程序,数码管循环显示900-999~(Digital loop display 900-999 ~)
    2011-05-01 06:37:35下载
    积分:1
  • dianyabiao
    数字电压表的源程序,可以实现实现测量电路的电压,精确到小数点后面三位数字。附带数字电压表的流程图(Digital voltage meter source, can be implemented to realize the voltage measurement circuit, down to the decimal point three digits.Attached flowchart of digital voltmeter)
    2013-11-15 16:38:21下载
    积分:1
  • 多路舵机控制
    对舵机的调试功能,通过多个舵机完成整个机器人的拼凑,进而完成机器人跳舞的任务。(The debugging function of the steering gear completes the assembly of the whole robot through multiple steering gear, and then completes the task of robot dancing.)
    2020-06-25 18:00:01下载
    积分:1
  • 16-18B20-sensor
    这是一个关于单片机开发的实例,讲述的是单片机上18B20的使用,通过用C语言进行一定的编程,以实现温度传感器的应用。(This is a single chip microcomputer development as an example, tells the microcontroller on the use of 18 b20, through certain programming in C language, in order to realize the application of temperature sensor. )
    2016-08-08 17:06:00下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载