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

链表插入与删除

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

代码说明:

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

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

发表评论

0 个回复

  • tempexecuted.c
    executed program for temperature reading of cs5463
    2009-05-12 17:50:16下载
    积分:1
  • PCShutDown
    通过界面参数输入,实现定时关机、重启、注销的功能。(Realize the function of timing shutdown, restart, cancel. )
    2015-01-01 23:55:31下载
    积分:1
  • UIWebViewDemo
    UIWebViewDemo,是一个简洁的手机浏览视图,可以获取有效链接进行互联网操作。(UIWebViewDemo is a simple mobile browser view, you can obtain a valid link for Internet operations.)
    2013-05-14 20:13:17下载
    积分:1
  • check_counter
    vc查看计数器值的程序源码,希望对大家有所帮助(vc view the source code program counter value, we hope to help)
    2011-06-05 23:15:12下载
    积分:1
  • BmpToRGB16
    convert bmp to rgb565(algorithm to handle all kinds of bmp to rgb565)
    2009-09-16 12:59:03下载
    积分:1
  • utre
    串口初始化程序模块,可是方便更改参数,使用简单。(Serial port initialization module, but easy to change parameters, easy to use.)
    2011-07-12 15:47:46下载
    积分:1
  • R_95302909IEC103-NR
    iec103 规约上位机源代码,喜欢的就下吧。(iec103 Statute of the host computer source code, like on the next bar.)
    2021-04-22 10:58:49下载
    积分:1
  • 六足机器人控制代码
    六足机器人爬行机器人控制代码,控制两个直流电机正反转,实现转向和爬行,基于STM32F103。C语言,无线NRF24l01通信,含有手柄代码和接收端代码。
    2022-04-13 10:51:10下载
    积分:1
  • qq2005source
    说明:  提供腾讯QQ2005贺岁版登录口令加密算法及其VC源码:QQ2005贺岁版的ewh.db的数据结构分析、加密算法的分析,并且给出解密的算法和实例。 (Tencent QQ2005 Hesuiban login password provided encryption algorithm and its VC Source: QQ2005 Hesuiban the ewh.db data structure analysis, encryption algorithm and decryption algorithm and examples are given.)
    2011-03-12 20:40:20下载
    积分:1
  • WpfD3D
    要在WPF中完美的支持YUV数据的显示,通常的解决方式是使用先把YUV数据转换成WPF可以支持的RGB数据,然后利用类似于WriteableBitmap的控件,把他展现在WPF上。这么做的主要问题是在做RGB转换的时候,需要消耗大量的CPU, 效率比较低。一种优化方式是使用FFMPEG里的SwScale或者Intel的IPP库,这些库经过了一定的优化,可以有限度的使用硬件加速。这里2为一个使用WritableBitmap的例子。(To perfect support in WPF YUV data show, the usual solution is to use the first WPF YUV data into RGB data can be supported, and then use controls similar to WriteableBitmap, and put his show on the WPF. The main problem is that in doing so make RGB conversion, consumes a lot of CPU, the efficiency is relatively low. An optimization approach is to use FFMPEG Lane SwScale or Intel' s IPP libraries that after a certain amount of optimization, can limited use hardware acceleration. 2 Here is an example of a use WritableBitmap.)
    2021-01-26 11:18:36下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载