登录
首页 » Visual C++ » ds1

ds1

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

  • shuangkui
    双馈风电机组的PSCAD模型,是通用模型,有助于帮助解决双馈风电机组建模问题(PSCAD doubly-fed motor model)
    2013-12-23 21:47:00下载
    积分:1
  • Light-cube-program
    光立方源程序代码,经本人使用,确定为可用程序,有详细注解(Light cube source program code, after I use, determine the available procedures, a detailed explanation)
    2015-07-18 14:55:47下载
    积分:1
  • PCSCReader
    底层调用了PCSC的通信库Winscard,可用于PC上读卡器与智能卡的通信(It calls the underlying communication library Winscard PC can be used on a PC to communicate with the smart card reader)
    2021-05-14 15:30:03下载
    积分:1
  • uDisk_WM_DEVICECHANGE
    通过WM_DEVICECHANGE来检测u盘的传播者源代码(through WM_DEVICECHANGE to detect u site promoters source code)
    2006-12-23 08:18:11下载
    积分:1
  • LED_Flash
    单片机开发:基础部分内容,基于51单片机的,流水灯制作(MCU development: basic part, based on 51 microcontroller, making water lights)
    2016-12-28 21:35:18下载
    积分:1
  • code-of-ecu
    飞思卡尔小型发动机EMS源代码,用于写入发动机ECU,控制发动机供油量,进而控制转速(code of ecu which can help up control the fuel of the engine)
    2021-01-24 22:48:39下载
    积分:1
  • AVR_RS485IAP
    avr单片机通过RS485在线程序升级,编译环境IAR,上位机程序使用VC6.0编写。(AVR microcontroller through the RS485 online upgrade program, the compiler environment IAR, the host computer program written in VC6.0.)
    2013-09-03 12:46:51下载
    积分:1
  • STEPPER-MOTOR
    通过51单片机串行转并行,扩展IO口,实现四个步进电动机的控制。(By 51 microcontroller serial to parallel IO expansion port, to achieve four stepper motor control.)
    2013-07-27 09:36:43下载
    积分:1
  • PC-(RS232-)
    单片机串口通信的应用,通过串口,我们的个人电脑和单片机系统进行通信。 个人电脑作为上位机,向下位机单片机系统发送十六进制或者ASCLL码,单片机 系统接收后,用LED显示接收到的数据和向上位机发回原样数据。(Single-chip serial communication applications, through the serial port, our personal computers and SCM systems to communicate. PC as a PC, send down bit microcontroller system or ASCLL hexadecimal code, after receiving the SCM system with LED display received data and sent back up crew as data.)
    2013-11-14 15:08:35下载
    积分:1
  • Debenu-Quick-PDF-Library-Guide
    给大家介绍一个PDF操作的sdk。通过这个sdk你可以直接对PDF文件进行显示、修改、新建及打印(Debenu Quick PDF Library Guide)
    2015-08-28 21:20:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载