登录
首页 » Visual C++ » ds1

ds1

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

  • E4SGX-CD-100910
    固高运动控制卡GE-400-SG随机光盘(GoogolTech GE-400-SG accompany CD)
    2020-09-11 08:08:00下载
    积分:1
  • zhe-ren-yi-biao
    车辆CAN总线的实时监测的电池容量,剩余容量,电压,电流和警报的其他参数(Vehicles can bus for real-time monitoring of battery capacity, remaining capacity, voltage, current and other parameters of the alarm)
    2014-10-09 21:46:56下载
    积分:1
  • Mega128_Sleep_Wake
    It was a ATmega128 Sleep mode and awake mode programed by avr studio4
    2013-06-03 18:48:50下载
    积分:1
  • Character-code-tools
    1.可以自动生成十六进制字编码。 2.可以自动C语言格式字符编码。 3.支持GBK和ASCII字符编码查询。(1 can automatically generate a hexadecimal character encoding. 2 can automatically format the C language character encoding. 3 support GBK and ASCII character encoding query.撤消修改)
    2014-01-04 16:42:20下载
    积分:1
  • 103000900AVR
    实现时间汉字滚动的程序,有了这个程序就可以方便我们更好的实现我们想要的功能(Realize the program rolling time Chinese characters, with this program can easy for us to better realize we want to function)
    2011-12-13 09:23:41下载
    积分:1
  • IR
    说明:  MSP430红外解码驱动,占用了一个定时器资源。(MSP430 IR decoding drive, taking up a timer resources.)
    2013-08-25 19:03:05下载
    积分:1
  • rilishizhong
    说明:  MCU 52 单片机控制程序,主要功能是日历时钟显示函数控制函数的算法。(MCU 52 microcontroller control program, the main function is to control the function of the calendar clock display function, the algorithm.)
    2011-04-07 11:06:50下载
    积分:1
  • Automaticlandingsystemcanberemotecontrolledbannerd
    全自动可遥控旗帜升降系统以AVR单片机为核心,由PWM对电机进行变频调速,高精度光电编码器测速,闭环式电路控制。能够利用按键输入相应的指令控制旗帜的升降,还可以实现在特定位置停留的功能。利用LCD可以显示旗帜的实时高度和相应的控制命令,用LED指示旗帜是否处于半旗状态,具有语音提示报警功能,并可利用无线模块实现遥控功能,准确均匀地实现旗帜的升降(Automatic landing system can be remote-controlled flag to AVR microcontroller core of the PWM VVVF motor, high-precision optical encoder gun, closed-loop control circuit. Enter the appropriate button to take advantage of the command control of the rise and fall of the flag, but also can stay in the function of a specific location. LCD can display the banner of the use of real-time high and the corresponding control command, the LED is directed at the flag half-mast, and alarm functions with voice prompts, and the use of wireless remote control function module, to achieve uniform and accurate take-off and landing flag)
    2009-05-08 17:47:20下载
    积分:1
  • 2.4TFT_C51_Pictures_showed_test_procedures
    2.4寸 TFT液晶屏在C51单片机上的刷屏测试程序(2.4-inch TFT LCD screen on a single chip in the C51 test procedure Shuabing)
    2010-07-20 18:41:05下载
    积分:1
  • SY_OO7
    数码管显示当前温度程序 适用于CC100C,若数码管上电后有残影,请将液晶显示器拔下后重新上电(Digital tube displays the current temperature procedure applies to CC100C, if the digital control power after stuttering, please unplug the LCD monitor and re-power)
    2010-03-11 09:36:04下载
    积分:1
  • 696518资源总数
  • 105273会员总数
  • 10今日下载