登录
首页 » Visual C++ » ds1

ds1

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

  • ocx-eyebeam-dial
    网页ocx,用于调用eyebeam,用js实现拨号。 基于VS2010开发,需要先安装eyebeam软件。(wrapper of eyebeam,a ocx. In a Webpage,call eyebeam dial by js. writen by vs2010.)
    2016-07-21 20:11:32下载
    积分:1
  • LTE_UL_Sc
    仿真过程中,将改进算法那与经典算法进行比较,通过对仿真数据如系统时延、系统丢包概率以及系统吞吐量的比较分析,评估改进算法的正确性和性能。(Simulation process, the improved algorithm that compares with the classical algorithm, through the simulation data system latency, packet loss probability of the system as well as a comparative analysis system throughput, improved assessment of the correctness and performance of the algorithm.)
    2014-05-05 12:13:16下载
    积分:1
  • display
    说明:  点阵显示原代码,上传的为c语言,也有原理图。(Dot matrix display of the original code, upload the c language, but also schematic.)
    2010-04-04 18:22:36下载
    积分:1
  • SSD6-EXAM-PRACTICAL-TASK
    SSD6 EXAM PRACTICAL TASK
    2016-01-05 17:26:07下载
    积分:1
  • MSP430_motor
    2相四线八拍步进电机程序,可以正转反转,加减速(2 phase four line 8 stepper motor)
    2015-01-12 15:09:15下载
    积分:1
  • adn
    AD转换资料,超全大量AD采集电压以及采集电流的方法!(AD conversion data, a large number of ultra-wide voltage and collected current AD acquisition method!)
    2013-09-01 17:58:25下载
    积分:1
  • STM8-C-language-programming
    STM8 C language programming
    2016-07-19 11:28:52下载
    积分:1
  • PS2通信,用stm32单片机模拟键盘鼠标往电脑送数据ps2_02
    PS2通信,用stm32单片机模拟键盘鼠标往电脑送数据。(PS2 communication with stm32 SCM simulation to send data to a computer keyboard and mouse.)
    2020-07-08 14:48:57下载
    积分:1
  • STM32F4xx(start-and-library)
    stm32f4xx包含启动文件(starup_stm32f4xx.s,system_stm32f4xx.h,system_stm32f4xx.c,system.h)和库函数(stm32f4xx intialize files and library)
    2013-10-26 20:03:08下载
    积分:1
  • danpianji.zip
    说明:  简单的流水灯控制和外部中断程序和键盘指针的应用(Simple light control and external interrupt water program and the application of the keyboard pointer)
    2011-03-20 13:10:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载