登录
首页 » c » 链表插入与删除

链表插入与删除

于 2023-08-24 发布 文件大小:44.03 kB
0 73
下载积分: 2 下载次数: 1

代码说明:

创建一个单链表,其数据元素为整数,从键盘输入,输入0结束(注意0不放到链表内);   2)从键盘任意输入一个整数,在单链表中查询该数,如果单链表中已经存在这个数,就调用删除函数,删除该元素所在结点,并将单链表在删除前后的数据元素依次输出到屏幕上;   如果单链表中不存在这个数,就调用插入函数,将这个数插入到单链表尾,并将单链表在插入前后的数据元素依次输出到屏幕上。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • LVBOPFFTP
    LABVIEW程序 实现滤波 快速傅里叶变换并进行频谱分析(LABVIEW program realization filter fast Fourier transform and spectrum analysis)
    2016-01-06 11:52:39下载
    积分:1
  • 程序
    随着生活质量的提高,越来越多的人喜欢在家中养花,但经常因不能及时照顾花的生长环境而导致花枯萎。为改善这种情况本系统提出了一种基于51单片机的智能浇花系统,该系统是以51单片机为主控制器,通过DS1302时钟模块设定在固定的时间进行浇水,浇水的时间为60秒;同时使用温度传感器DS18B20和湿度传感器对土壤的温度和湿度进行检测,当检测到的环境状况是属于土壤缺水的情况,则主控制器会打开水泵开关开始浇水,当不在是缺水的情况时则停止浇水。经过后期的多次测试,该系统可以成功的实现预期的设计目标。(With the improvement of the quality of life, more and more people like to grow flowers at home, but often fail to take care of the growing environment of flowers in time to cause the flowers to wilt. In order to improve this system, an intelligent watering system based on 51 single-chip microcomputer is proposed. The system is based on 51 single-chip microcomputer as the main controller. The system is set at a fixed time through the DS1302 clock module to water for 60 seconds. The temperature and humidity of the soil is also used by the temperature sensor DS18B20 and the humidity sensor. The main controller opens the water pump switch to water and stops watering when the water is not in the condition of water shortage. After many tests, the system can achieve the desired design goals successfully.)
    2018-04-20 22:39:28下载
    积分:1
  • ContactsUpdater
    gdata-samples SHA1 Checksum: 96f3f340b54a69f779a73747d5410c77aa9b9e3d Tip: Use the SHA1 checksum shown to verify file integrity.
    2009-07-31 20:37:57下载
    积分:1
  • 学生成绩管理系统课程设计(含报告
    包括有报告、测试用例等,设计指针的多方面应用
    2023-04-09 23:20:03下载
    积分:1
  • DAC7568驱动程序
    DAC7568驱动程序。我看了一天的PDF终于写出来了,希望对大家有帮组(DAC7568-driven program. I saw the day of PDF was finally written, we want to help group)
    2012-07-11 11:38:40下载
    积分:1
  • edbg
    Command line utility for Windows and Linux that supports programming Atmel Cortex-M0 and Cortex-M4 parts via EDBG programmer installed on Atmel development kits.
    2015-02-07 05:37:17下载
    积分:1
  • Ada-Booted
    人脸识别原理介绍 有一些算法介绍 并附加图解 适合初学者(language:English from university of British)
    2010-01-17 00:25:55下载
    积分:1
  • stm8s_iic_slave
    STM8 硬件I2C程序,ST原厂的库版本I2C程序存在问题,无法直接用于项目。本程序是本人亲自调试通过的STM8硬件I2C从机程序。(STM8 hardware I2C procedures, problems ST I2C original version of the library program, can not be directly used for the project. This program is personally STM8 hardware debugging through the I2C slave program.)
    2020-08-01 02:08:37下载
    积分:1
  • car-ERP-VS2008
    说明:  本人升级并将错误修改好,能运行的,vs2008版 "汽车销售公司ERP系统"(I upgrade and better error correction, can running, vs2008 version of &quot automobile sales company ERP system&quot )
    2010-04-12 13:34:37下载
    积分:1
  • jixieyouhuashejijintuifa
    机械优化设计进退法的程序,已经测试,绝对好用。(Mechanical advance and retreat method optimization procedure has been tested, absolutely easy to use.)
    2011-10-03 12:59:54下载
    积分:1
  • 696518资源总数
  • 105908会员总数
  • 30今日下载