-
xian2
说明: 通过键盘创建有若干个元素(可以是整型数值)的单链表,实现对单链表的初始化,对已建立的顺序表插入操作、删除操作、查找操作、遍历输出单链表。
要求各个操作均以函数的形式实现,并且在主函数中调用各个函数实现以下操作:
( 1 )键盘输入单链表 x 、 x 、 x 、 x 、 x 、 x ,并输出显示,其中 x 为任意整数。
( 2 )在单链表的第 4 个位置插入 67 ,并输出单链表中的各元素值。
( 3 )删除单链表中的第 2 个数据元素,并输出单链表中的各元素值。
( 4 )查找单链表中的第 5 个元素并输出该元素的值。(A single linked list with several elements (which can be integer values) is created by keyboard to initialize the single linked list, insert operation, delete operation, search operation and traverse the output single linked list.
Each operation is required to be implemented in the form of a function, and each function is called in the main function to implement the following operations:
(1) Keyboard input single linked list x, x, x, x, x, x, and output display, where x is an arbitrary integer.
(2) Insert 67 at the fourth position of the single-linked list and output the values of each element in the single-linked list.
(3) Delete the second data element in the single-linked list and output the values of each element in the single-linked list.
(4) Find the fifth element in the single list and output its value.)
- 2019-04-18 20:15:36下载
- 积分:1
-
inherit1
有关继承函数,初学者可以作为非常不错的例子,了解语法结构(inherit )
- 2009-11-30 19:37:46下载
- 积分:1
-
简单验证码识别
简单验证码识别
- 2013-05-26下载
- 积分:1
-
cccc
输入两个正整数m和n,求其最大公约数和最小公倍数(Enter two positive integers m and n, can seek the common denominator and least common multiple)
- 2010-05-11 21:19:20下载
- 积分:1
-
MahApps.Metro-0.13.1
WPF藏储物流框架,模板,仅供参考,来自codeplex(wpfwpfwpfwpfwpfwpf wpfwpfwpfwpfwpfwpfwpfwpf)
- 2014-04-29 01:25:37下载
- 积分:1
-
TFT彩色液晶屏显示一个A实验
STM32神舟1号通过ili9320驱动LCD液晶显示屏显示一个A实验(STM32 Shenzhou 1 shows a A experiment through ILI9320 driving LCD LCD screen.)
- 2018-05-04 14:45:01下载
- 积分:1
-
IceRiver
- 2010-04-14 16:40:35下载
- 积分:1
-
Fengzhuang_test
vc matlab混合编程小例子!希望能给大家一点启示里面的链接库需要设置下!(vc matlab small example of mixed programming! An inspiration to give us hope that the links inside the library to set the next!)
- 2011-04-25 17:15:27下载
- 积分:1
-
ircode
单片机红外解码1602液晶驱动显示,适合初学者学习红外解码(Microcontroller infrared decoder 1602 LCD driver, suitable for beginners to learn the infrared decoding
)
- 2015-06-09 21:20:04下载
- 积分:1
-
modeling_a_city
该文档描述了如何使用sketchup制作3D模型,并上传到google的3D仓库。(This document describes how to create 3D models using sketchup and uploaded to google' s 3D warehouse.)
- 2011-06-02 02:05:40下载
- 积分:1