CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 数据结构常用算法

文件名称:Doubly-linked-.

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    317.63kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

线性表链式存储(双向链表)插入、删除运算



1、预习要求:线性表的插入、删除相关概念及运算,完成线性表元素的插入、删除。

2、实验目的:

(1)了解线性表的插入、删除相关概念;

(2)理解线性表的插入、删除过程和结构定义;

(3)掌握算法转换为程序的过程中的变化。

3、实验内容及要求:

(1) 以“一个较完整的程序范例-顺序表”程序框架为框架

(2)双链表结构体为:

typedef struct

{

int num /学号

char name[10] /姓名

} student;

分别建立包含3~5个数据元素的链式存储线性表;

(3)实现功能

a)构造空表,直接从键盘输入数据元素

b) 插入、删除、一般查找(给定某一学号x,找到并显示该学生信息)、显示等函数功能

c)设计特殊查找函数findbeforeAndAfter(...),给定某一学号x,能同时找到该学生第i个前驱的学生信息,以及该学生第j个后继的学生信息,参数x, i,j从键盘输入

(4)给出程序运行截图。

-The linear table chain store (doubly linked list) insert, delete operations



1, the preview request: Linear table insert, delete the related concepts and operations, completion of the linear table elements

Insert, delete.

2, the purpose of the experiment:

(1) to understand the linear table insert, delete the related concepts

(2) understanding of the linear table insert, delete, processes and structures defined

(3) to grasp the changes in the process of algorithm into a program.

3, experimental content and requirements:

(1) "a more complete example of the program- order form" procedural framework within the framework of

(2) doubly linked list structure is:

    typedef struct

    {

     int num /Student ID

     char name [10] /Name

    } Student

Were established to contain three to five data elements in the chain store linear table

(3) to achieve functional

  a) Construct an empty table directly from the keyboard to input data elements

  b)
(系统自动生成,下载前可以参看下载内容)

下载文件列表

417-01.ncb
417-01.opt
417-01.plg
Debug/417-01.exe
Debug/417-01.ilk
Debug/417-01.obj
Debug/417-01.pch
Debug/417-01.pdb
Debug/vc60.idb
Debug/vc60.pdb
417-01.cpp
417-01.dsp
417-01.dsw
Debug

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com