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

链表插入与删除

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

代码说明:

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

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

发表评论

0 个回复

  • ChexueFangzhen
    一个车削仿真的程序,可用生成NC代码,并带有仿真过程.(a turning simulation procedures, generating NC code available, and with simulation process.)
    2006-06-04 12:31:03下载
    积分:1
  • C#右下角弹窗提醒 例子源码
    C#右下角弹窗提醒 例子源码
    2015-06-26下载
    积分:1
  • lesson-14
    孙鑫VC++教学课程lesson14:网络的相关知识,网络程序的编写,Socket是连接应用程序与网络驱动程序的桥梁,Socket在应用程序中创建,通过bind与驱动程序建立关系。此后,应用程序送给Socket的数据,由Socket交给驱动程序向网络上发送出去。计算机从网络上收到与该Socket绑定的IP+Port相关的数据后,由驱动程序交给Socket,应用程序便可从该Socket中提取接收到的数据。网络应用程序就是这样通过socket进行数据的发送与接收的。TCP与UDP的工作原理与编写过程,如何在程序中链接库文件。一个字符界面的聊天程序。(Sun Xin VC++ tutorial lesson14: the knowledge of the network, network program, Socket is connected applications and network drivers bridges, Socket application to create, build relationships bind driver. Thereafter, the data of the application to give socket, by the Socket handed driver and sent out on the network. After binding with the Socket IP+Port related data is received by the computer from the network, by the driver to the socket, the application can extract the data received from the Socket. Network application is sending and receiving data through the socket. TCP and UDP works and the writing process, how to link library files in the program. A character interface chat program.)
    2013-04-02 10:19:34下载
    积分:1
  • USBDMV23_24512
    USBDMV23包含有详细得的地德资料哦哦哦哦哦(USBDMV23 contains a detailed the DE data oh oh oh oh oh)
    2013-12-16 15:55:03下载
    积分:1
  • 24c64
    24C64完整遍 24C64完整遍 (24C64 through 24C64 complete integrity of the times)
    2007-09-20 01:36:30下载
    积分:1
  • Socket
    socket 编程(socket programming)
    2008-01-15 17:30:30下载
    积分:1
  • BeiDa_ACM1702
    北大ACM1702题 转换为3进制 很经典(NULL)
    2009-12-08 11:31:40下载
    积分:1
  • YITTVR
    说明:  编译的图形软件的一部分程序可以画出直线圆弧矩形(graphics software compiler part of the procedure can draw straight rectangular arc)
    2006-05-11 15:35:39下载
    积分:1
  • human-resources-management-system
    用C#语言实现“人力资源管理系统”,实例开发,完整源代码,VS2005+SQL2005,便于学习该语言(C# language with the "human resources management system", instances of development, complete source code, VS2005+ SQL2005, easy to learn the language )
    2011-06-03 23:55:35下载
    积分:1
  • Shaped_Histograms
    this mi test m-file for matlab program
    2013-08-27 14:44:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载