登录
首页 » 其他项目 » 单链表的插入和删除实验目的: 1、定义单链表的结点类型 2、通过单链表的定义掌握线性表的链式存储结构的特点; 3、熟悉单链表的建立以及插入、删...

单链表的插入和删除实验目的: 1、定义单链表的结点类型 2、通过单链表的定义掌握线性表的链式存储结构的特点; 3、熟悉单链表的建立以及插入、删...

于 2022-04-15 发布 文件大小:895.00 B
0 251
下载积分: 2 下载次数: 1

代码说明:

单链表的插入和删除实验目的: 1、定义单链表的结点类型 2、通过单链表的定义掌握线性表的链式存储结构的特点; 3、熟悉单链表的建立以及插入、删除等基本操作。 -# include # include # define ND sizeof(struct List) struct List {int data struct List*next } void main() { int n,i=1,e,a struct List*head struct List*p,*q q=head=p=(struct List*)malloc(ND)

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

发表评论

0 个回复

  • 滚球游戏意智游戏 问题描述 有八个小洞,序号和分布位置如图。小球从A、B、C(即洞号0、1、2)三个位置之一滚下。如果洞的状态为0时,球向左滚;如果洞的...
    滚球游戏意智游戏 问题描述 有八个小洞,序号和分布位置如图。小球从A、B、C(即洞号0、1、2)三个位置之一滚下。如果洞的状态为0时,球向左滚;如果洞的状态为1时,球向右滚。凡是球滚过的洞,状态取反(既由1变0,由0变1)。 现用8位二进制数依次从左到右表示八个小洞的状态。 例: 图中的初始状态为 00000101 时,最多滚入3个球时有 从C洞滚入一小球状态为 ――――> 00101111 从B洞滚入一小球状态为 ――――> 01111011 从A洞滚入一小球状态为 ――――> -bowls game Italy-game description eight holes and serial number and distribution figure. Small ball from the A, B, C (hole No. 0,1,2), one of the fallen three locations. If the state of the hole 0:00 a.m., the ball rolling left; If the state of the hole 1:00, the ball rolling right. Whatever strain at the hole, from the anti-state (both from a variable 0, 0 Variable 1). Now with eight followed by the binary number eight hole, said whatever the state. Cases : Figure the initial states of 00000101, three roll-up ball from C hole rolled over a small ball of----> 00101111 B hole rolled over from one state to the small ball----> 01111011 from A hole rolled over a small ball of---->
    2023-04-01 05:00:04下载
    积分:1
  • with multim2001 preparation, as a circuit beginners can learn reference
    用multim2001编写,可以作为电路初学者的学习参考-with multim2001 preparation, as a circuit beginners can learn reference
    2022-03-23 05:37:47下载
    积分:1
  • 用C语言实现进程调度-操作系统课程设计设计思想: “最高优先数优先”调度算法的基本思想是把cpu分配给就绪队列中优先数最高的进程。采用动态优先数,即优先数在...
    用C语言实现进程调度-操作系统课程设计设计思想: “最高优先数优先”调度算法的基本思想是把cpu分配给就绪队列中优先数最高的进程。采用动态优先数,即优先数在创建进程时给定一个初始值,当进程获得一次cpu后其优先数就减少1。-C language scheduling process-design courses on operating system design : "Priority number of the highest priority" scheduling algorithm the basic idea is cpu allocated to the parade were in place the highest priority in the process. Dynamic priority, which is priority number in the creation process to set an initial value, When the process is a cpu after its priority on reducing the number of one.
    2022-05-25 04:15:05下载
    积分:1
  • 棋盘算法,在给定大小的方格状棋盘上, 将棋子”马”放在指定的起始位置 , 棋子”马” 的走子的规则为必须在棋盘上走”日”字 从棋子”马”的起始位置开始, 搜索出...
    棋盘算法,在给定大小的方格状棋盘上, 将棋子”马”放在指定的起始位置 , 棋子”马” 的走子的规则为必须在棋盘上走”日”字 从棋子”马”的起始位置开始, 搜索出一条可行的路径, 使得棋子”马”能走遍棋盘上的所有落子点, 而且每个落子点只能走一次 -Checkerboard algorithm, given the size of the square-shaped board, will be a pawn of " horses" on the specified start position, the pieces of " horses" take the child must be the rules of the board to the " day" word from a pawn " horses, " starting position of the beginning, search out a feasible path, makes the piece" Horse " can be traveled on board all the Lazi, and they can only go once every Lazi point
    2022-09-29 00:25:06下载
    积分:1
  • python初学者教材,使读者能更深刻了解python的精髓,讲的很透彻...
    python初学者教材,使读者能更深刻了解python的精髓,讲的很透彻-python beginner teaching materials, allowing the reader to a deeper understanding of the essence of python, speaking very thorough
    2022-03-20 01:33:24下载
    积分:1
  • IP核!!高速傅立叶变换的VHDL源代码 可以综合
    IP核!!高速傅立叶变换的VHDL源代码 可以综合-IP core! ! High-speed Fourier transform of the VHDL source code can be integrated!!
    2022-03-02 20:49:37下载
    积分:1
  • is prepared to use the c source code of the game is playing the game of rabbits,...
    这是个用c编写的游戏源代码,是打兔子的游戏,请查收-is prepared to use the c source code of the game is playing the game of rabbits, please find
    2022-04-21 16:20:31下载
    积分:1
  • prepare themselves with a small C games, DOS interface, oh run. Float Float basi...
    自己用C编写的小游戏,DOS界面哦,可以运行。 浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较,以及浮点数分柝等。 包含头文件 "fn.hpp" #include "fn.hpp" 浮点数基本运算 浮点数的基本运算中有加、减、乘、除、取负、绝对值、相等比较等。 加减乘除 加、减、乘、除四个运算极为相似,都是需要两个参数,结果当然也是浮点数了。 例子: // 加 减 乘 除 btil::fn::plus::value // f1+f2 的结果 btil::fn::minus::value // f1-f2 的结果 btil::fn::multiplies::value // f1*f2 的结果 btil::fn::divides::value // f1/f2 的结果 plus::value::f_val // f1+f2 的结果的值 struct one { static const double f_val = 1.0 } // 两个浮点数 struct two { static const double f_val = 2.0 } minus::value::f_val == 0.5 取负 取负运算就是取一个浮点数的负数。-prepare themselves with a small C games, DOS interface, oh run. Float Float basic operations of the basic operations are four major operations, symbols, sizes, and float-watchman"s rattle so. The first document contains "fn.hpp"# include "fn.hpp" float float basic operations of the basic operations are, p
    2022-03-22 16:15:25下载
    积分:1
  • 用来检查文件之间的相似程度
    用来检查文件之间的相似程度-used to check the documents of the similarity between the
    2022-02-15 03:01:12下载
    积分:1
  • 这个是一个有关数据服务器的vb小程序,还包括一个视频教程,供vb初学者使用...
    这个是一个有关数据服务器的vb小程序,还包括一个视频教程,供vb初学者使用-Instance, soil stamp stamp bleed at the nose
    2022-03-25 09:10:11下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载