登录
首页 » Visual C++ » ds1

ds1

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

  • SV_PWM
    tms320F28335是一款新的dsp芯片,svpwm算法的实现和以前的2812等有点不同,现在将我写的分享给大家,已经调试过了,晶振是20MHz。28335的svpwm的实现。(tms320F28335 is a new dsp chip, svpwm algorithm implementation and the previous 2812 and so a little bit different, now I write for everyone to share, debugging, and the crystal is 20MHz. 28335 svpwm implementation.)
    2014-02-18 10:21:36下载
    积分:1
  • lax-wendroff
    lax-wendroff求前台阶超声速流动(lax-wendroff format)
    2021-04-09 16:18:59下载
    积分: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
  • 2-LED
    在stm32上可以点亮流水灯,可以帮助你对stm32的固件库和外设有所了解(it could run on the stm32)
    2013-09-22 17:01:29下载
    积分:1
  • MSP430_motor
    2相四线八拍步进电机程序,可以正转反转,加减速(2 phase four line 8 stepper motor)
    2015-01-12 15:09:15下载
    积分:1
  • Read_Ionex
    本程序可以读取电离层IONEX数据,可以运行,程序流畅简洁,清楚易懂!!(The program can read the ionosphere IONEX data, you can run the program smoothly simple, clear and understandable!!)
    2021-03-01 17:59:34下载
    积分:1
  • HUST
    华中科大第八届的程序 拿了赛区的二等奖 关于飞思卡尔智能车电磁组(sensor group)
    2014-01-17 13:00:55下载
    积分:1
  • fpga_8051
    毕业设计中等精度频率计8051IP核的C语言代码,功能是计算频率,脉宽,相位。还有控制LCD12864(Graduate design Medium precision frequency meter the 8051IP nuclear C-language code, the function is to calculate the frequency, pulse width, phase. As well as control LCD12864)
    2012-07-13 15:30:15下载
    积分:1
  • 四旋翼源代码
    基于STM32F4的四轴航拍平台。以STM32F407为控制核心,四轴飞行器为载体,辅以云台的航拍系统。硬件上由飞控电路,电源管理,通信模块,动力系统,机架,云台伺服系统组成。算法上采用简洁稳定的四元数加互补滤波作为姿态解算算法,PID作为控制器,实现飞行,云台增稳等功能(Four axis aerial platform based on STM32F4. Taking STM32F407 as the control core, the four axis flying vehicle as the carrier, and the aerial camera system with ptz. The hardware is composed of flight control circuit, power management module, communication module, power system, frame and PTZ servo system. The algorithm uses a simple and stable four yuan number plus complementary filtering as the attitude calculation algorithm, and PID is used as a controller to achieve flight, PTZ stability, and other functions)
    2017-06-28 00:52:48下载
    积分:1
  • msp430f5438system_Chinese-Materials
    msp430f5438系统中文资料(全)(msp430f5438system_Chinese Materials)
    2013-09-09 09:12:43下载
    积分:1
  • 696518资源总数
  • 105721会员总数
  • 0今日下载