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

链表插入与删除

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

代码说明:

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

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

发表评论

0 个回复

  • CAN2.0规范
    网上很多都是英语的,现在把CAN2.0规范中文版的分享出来,有需要的朋友可以下载下来学习了。(Chinese version of the CAN2.0 specification,)
    2017-08-04 10:56:59下载
    积分:1
  • RC控制
    说明:  针对逆变器的并网THD的改善策略,可以在ccs中通过加入该重复控制RC的代码,来有效减少并网电流THD(For the improvement strategy of grid-connected THD of inverter, the code of repetitive control RC can be added in CCS to effectively reduce grid-connected current THD)
    2020-11-21 15:02:39下载
    积分:1
  • ChatRoom(Winsock)
    这是一个用于局域网内部进行聊天通信的小软件源程序,对于学习和了解winsock编程很有借鉴意义。(This is a chat for LAN communications within a small software source code, for learning and understanding of referential significance to winsock programming.)
    2008-12-28 13:45:26下载
    积分:1
  • ios_AES_encrypt
    本源码为我的毕业设计,题目为,基于iOS平台的数据加密程序,实际为AES加密算法。用objective—C实现,在ios开发平台SDK 下打开可运行(The source code for my graduation project entitled, based on the the iOS platform data encryption program, the actual AES encryption algorithm. Objective-C to achieve open can run in ios development platform SDK)
    2013-04-27 20:26:28下载
    积分:1
  • 2,标准例程-V3.5库函数版本
    说明:  STM32开发板资料,库函数版本详细指导教程(STM32 Development Board Information, Library Function Version Detailed Guidance Tutorial)
    2020-06-23 01:20:02下载
    积分:1
  • AD_20160807
    freescale MCU,S12G128的ADC模块与PWM模块的使用,通过电位器模拟电压输入,控制PWM的占空比输出,可以控制LED灯、电机驱动等任务。(freescale MCU S12G128 ADC module and PWM module, an analog signal input control the PWM duty)
    2016-08-08 18:59:20下载
    积分:1
  • yjuaherethere
    这是一个关于模拟退火c c++的算法程序,内有详细解释,希望对大家有所帮助(This is a simulated annealing c c algorithm, there is a detailed explanation, I hope to help you)
    2018-11-22 10:15:16下载
    积分:1
  • 深入理解c指针
    一本深入讲述c语言指针的书籍,用于入门及深入探究。(An in-depth book about C language pointer, for entry and in-depth exploration.)
    2018-06-14 12:58:25下载
    积分:1
  • MFC-ADODemon
    VC/MFC ADO连接数据库,简单易用,且封装好了一个类.(VC/MFC ADO connect to the database, easy to use, and a wrapper class.)
    2011-02-15 16:51:16下载
    积分:1
  • STM32F103C8T6超声波测距源码
    ALIENTEK STM32开发板SYSTEM文件夹,采用V3.5库的头文件,使得代码可以完美移植到库函数里面使用,不过注意,在新建工程的时候,请在:Options for Target-->C/C++ 选项卡里面 Preprocessor Symbols 栏定义你的STM32芯片容量。比如:ALIENTEK 战舰STM32开发板用户,使用的是大容量的STM32芯片,则在Define栏输入:STM32F10X_HD 对于STM32F103系列芯片,设置原则如下: 16KB≤FLASH≤32KB 选择:STM32F10X_LD 64KB≤FLASH≤128KB 选择:STM32F10X_MD 256KB≤FLASH≤512KB 选择:STM32F10X_HD(ALIENTEK STM32 development board SYSTEM folder, using V3.5 library header file, so that code can be perfectly transplanted to the library function to use, but note that in the new project, please: Options for Target - > C/C++ tab in the Preprocessor Symbols column to define your STM32 chip capacity. For example: ALIENTEK warship STM32 development board users, using a large capacity STM32 chip, in the Define column input: STM32F10X_HD For STM32F103 series chips, the setting principles are as follows: 16KB < FLASH < 32KB Selection: STM32F10X_LD 64KB < FLASH < 128KB Selection: STM32F10X_MD 256KB < FLASH < 512KB Selection: STM32F10X_HD)
    2019-01-15 13:31:52下载
    积分:1
  • 696518资源总数
  • 105570会员总数
  • 13今日下载