登录
首页 » Visual C++ » ds1

ds1

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

  • CRCendat2.2
    海德汉ENDAT2.2协议,CRC校验C代码,调试通过,绝对可用(CRC FOR endat2.2)
    2010-08-11 18:13:23下载
    积分:1
  • CRC
    LTE物理信道CRC编码C语言代码,包括16,24a,24b三种格式(C language code of CRC coding for LTE physical channel, including three formats 16,24a and 24b )
    2013-08-10 11:39:46下载
    积分:1
  • 11vs11robot-soccer
    这个是11V11的平台,里面有简单的策略,代码都经过了注释,非常适合初学者学习。(This is the 11V11 platform, which has a simple strategy, the code have been annotated, very suitable for beginners to learn.)
    2020-10-14 18:17:30下载
    积分:1
  • SCM-papers-report
    单片机论文报告 我的课程设计报告 供大家参考(SCM papers report my curriculum design report for your reference)
    2013-09-10 19:33:25下载
    积分:1
  • nrf9051
    无线通讯nrf905,很适合初学者来学习,里边包括了对射频寄存器的设置什么的(Wireless communication nrf905, it is suitable for beginners to learn, inside contains the settings for RF registers what)
    2013-12-02 20:34:57下载
    积分:1
  • Full2012
    1. 本研究利用 PCA 对可见-近红外(450~1 000 nm)、可见光(450~780 nm)和近红外(780~1 000 nm)光谱区域的苹果高光谱图像数据进行降维,获得 PC 图像,通过对 PC 图像进行分析,确定可用于分割损伤和正常区域的有效光谱区域,对比分析几个光谱区域的 PCA 的效果。(but currently no practical system for detecting blood spots and dirt stains exists. In order to obtain maximum throughput, processing speeds of over 85,000 eggs per hour are common. The demanding requirements placed on the human workers result in two types of grading errors)
    2013-09-03 16:30:05下载
    积分:1
  • 11
    通过PWM定时器延迟一秒,实现一个LED灯的明灭。实验中观察I/O口的值对LED灯的明灭的控制,学习I/O口的输入输出方式和设置,了解PWM的配置方式(Through the PWM timer to delay a second, the realization of a LED lamp at. I/O values for LED lamp light control experiment, learning I/O port input and output method and setting, understanding of PWM configuration methods)
    2014-04-16 13:54:34下载
    积分:1
  • SCM-off-cable-detection
    单片机电缆通断检测系统,可以实现电缆短路和断路(SCM off cable detection system, the cable can short-circuit and open circuit)
    2015-04-14 11:27:00下载
    积分:1
  • virtual-serial-port
    单片机虚拟串口仿真图,里面有虚拟串口软件和串口调试助手,还有用proteus进行的仿真图,不用开发板一样进行仿真,只能说proteus太强大了。只要你想不到的,没有他做不到的!(Virtual serial port emulation chip chart, which has a virtual serial port software and serial debugging assistant, as well as performed with proteus simulation map, not the same simulation development board can only say proteus too strong. As long as you think, no he can not do!)
    2013-07-31 16:19:11下载
    积分:1
  • 46-xuanxiang-tongxin
    这个程序可以实现两个单片机之间双向通信的功能。(This program can realize the function of two-way communication between two microcontrollers.)
    2015-04-23 10:45:29下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载