登录
首页 » Visual C++ » ds1

ds1

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

  • STM32_SD
    STM32F103VET6下的SD卡驱动,有需要的朋友请下。(rfef fsdfiw )
    2011-12-02 11:12:43下载
    积分:1
  • asp
    大概意思就是当有人中QQ木马时会自动与此页面通信,并将受害者二次输入的QQ信息在当前目录下以以下形式存入一个命名为2008jhqqxx.txt的文档里,   QQ号---QQ密码---会员:是否---QQ登陆IP---具体时间   可见QQ木马是很强大的。(Probably mean is when someone QQ Trojan will automatically communicate with this page, and the victims of the second input QQ information in the current directory to the following form deposited in a naming 2008jhqqxx.txt documents, QQ number--- the QQ password--- Member: whether--- QQ landing IP--- specific time visible QQ Trojan is very powerful.)
    2013-02-22 10:59:44下载
    积分:1
  • dsn
    自行车的里程表。基于51单片单片机最小系统开发的(The bike' s odometer. Developed based on 51 single-chip microcontroller minimum system)
    2012-12-27 10:33:43下载
    积分:1
  • multi
    基于RS485的简单现场总线通信系统设计,功能如下:单发单收,在发送状态,能够连续发送从0到99的数字; 单发单收,在接收状态,能够接收数据,并在数码管上正确地显示出来; 单发多收,在AB完成的基础上,接上多个接收设备,能够正确发送和接收; (Based on a simple RS485 field bus communication system design, the following functions: single single collection, sending state, can be continuously transmitted from 0 to 99 single single collection, in the receiving state, capable of receiving data and digital tube correctly displayed single overcharged, on the basis of completion of the AB, connected to multiple receivers, can correctly send and receive )
    2021-05-07 05:28:36下载
    积分:1
  • ParallelQuickSort
    parallel quicksort algorithm and implimentation
    2015-06-23 03:59:36下载
    积分:1
  • ucosii51
    这是一个用51单片机系统仿真ucosii工作的protues电路 本系统包括扩展64k RAM的单片机系统和杨屹移植到51单片机的ucosii 系统 使用方法: 1.安装Protues7.4版,然后用protues打开protues 8051 simulation 文件夹 中的extern ram.DSN 文件 2.打开extern ram.DSN 后,双击单片机在弹出的窗口中的Program File 选项 中选择yy.hex文件。 (yy.hex其实就是yy文件夹中keil文档编译出来的hex文 件,yy文件夹是杨屹的ucos51 系统,用keil 2 可以打开) 3.在Clock Frequency选项中输入22.184M(杨屹的ucos51 用的是22.184M hz的单片机频率) 4.双击VTERM串口调试显示屏,在Baud Rate 选项中选择19200的波特率 5.保存,点击运行就可以看到经典的hello world 了。 (1. Protues7.4 version installed, and then open the protues folder protues 8051 simulation The extern ram.DSN file 2. Open extern ram.DSN, double-click the pop-up window of SCM in the Program File option, select yy.hex file. (yy.hex actually yy folder keil out of the document compiled hex files, yy folder is Yang Yi s ucos51 system, using keil 2 Can open) 3. In the Clock Frequency option to enter 22.184M (Yang Yi of the ucos51 using a microcontroller 22.184M hz frequency) 4. Double-click VTERM serial debug display, in the Baud Rate select 19200 baud rate options 5. Save, click Run you can see the classic hello world)
    2010-03-09 19:40:03下载
    积分:1
  • WaveProg_TX
    transfer file using sound card
    2009-12-21 16:26:33下载
    积分:1
  • congji
    实现声音导引小车运动,智能小车程序C51代码(Achieve sound AGV Sport, smart car program code C51)
    2013-08-09 14:45:30下载
    积分:1
  • display
    说明:  点阵显示原代码,上传的为c语言,也有原理图。(Dot matrix display of the original code, upload the c language, but also schematic.)
    2010-04-04 18:22:36下载
    积分:1
  • 雷达仿真的c程序
    雷达仿真的c程序,我自己写的 站长大人,情尽快开通帐号,救急(radar simulation c procedure, I wrote the director of adults, and a quick opening of account and save)
    2007-04-11 19:01:01下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载