c语言双向链表的删除、插入一个节点的程序,数据结构课程设计时用到
2021-12-06 22:28:09 3KB 双向链表 删除 插入
1
广义表 三元组表 十字链表 c语言描述 建立稀疏矩阵的三元组表的算法、按矩阵的列序转置算法、按矩阵的行序转置算法 建立稀疏矩阵的十字链表的算法、输出稀疏矩阵十字链表的算法 求广义表的表头、求广义表的表尾、求广义表的长度、求广义表的深度、统计广义表中数目、复制广义表
2021-12-06 11:36:29 4KB 广义表 十字链表 三元组表 C语言
1
已知N个人(以编号1,2,3...n分别表示)围成一个圈。 从编号为K的人开始报数,数到M的那个人出列,他的下一个人又从1开始报数,依照此规律重复下去,直到圆圈中的人全部出列。 问题:请打印出这N个的人出列的编号。 双向链表实现的
1
设树的存储结构为孩子兄弟链表 typedef struct CSNode{ Elem data; struct CSNode *firstchild, *nextsibling; } CSNode, *CSTree; 一、求树的深度 二、输出树中所有从根到叶子的路径 三、建树的存储结构
2021-12-04 22:35:32 2.54MB 树和二叉树
1
附录1-基础实验.zip
2021-12-04 18:02:53 3.37MB 数据结构 C语言 二叉树 链表
1
设一棵二叉树以二叉链表表示,试编写有关二叉树的递归算法
2021-12-04 15:23:15 5KB 二叉树 递归算法
1
主要为大家详细介绍了C语言实现学生信息管理系统,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
1
以三元组形式输出用十字链表表示的矩阵的非零元素及其下标
2021-12-03 15:44:20 1KB 算法
1
本设计中用到的数据结构ADT定义如下: ADT List{ 数据对象:D={} 数据关系:={}
2021-12-03 14:44:18 132KB 链表
1
本次实验设计了一个学生管理系统。学生管理系统对数据的存储可以是顺序结构,也可以是链式结构。由于顺序结构存储时用的是一段连续的存储空间,不适合存储大量的信息量,因此本人使用单链表的数据结构来对学生的信息进行管理。本次课程设计中,学生的信息分为了四大项,分别是学生的学号、姓名、年龄、成绩,这四项一起作为链表节点的数据部分。本次数据结构课程设计摒弃了传统的面向过程程序设计思想(如C程序设计),引进了当今比较流行的程序设计理念:面向对象(如C++程序设计)。这使得程序的各个功能更加模块化,系统化,用类把成员变量和成员方法封装起来,使开发变得更有效率,结构更加清晰。 关键词: 学生信息管理,链式存储结构,面向对象程序设计 Student Information Management System LIling (Oriental Institute of Science and Technology College,Class3) Abstract: The experimental design of a student management system. Student management system for data storage may be the order of the structure, it could be a chain structure. As the structure of the store when the order is for a period of storage space, not suitable for storing large amount of information, so I use a single list of the data structure to the students of information management. The curriculum design, student information has been divided into four categories, namely, students, name, age, the results of these four nodes together as a list of some of the data. The data structure of the curriculum design to abandon the traditional process-oriented programming ideas (such as the C programming), today introduced a more popular programming ideas: object-oriented (such as C + + programming). This program features all the more modular, systematic, with the members of the class of members of the variables and methods of packaging, so that the development of more efficient, more clear structure. Key words: student information management, chain store structure, object-oriented programming 导入语:学生信息管理分为了九大项:链表的创建、输出、插入、删除、查询、显示学生总数、按照成绩排序、显示不及格的人数、退出系统。 一、需求分析 学生信息管理系统是现实生活中比较常见的系统,它主要负责对学生信息的管理。 学生管理系统所要解决的问题是: (1)建立一个学生管理的链表 (2)数据的插入 (3)数据的删除 (4)信息的显示 (5)信息的查找 (6)学生总数的显示 (7)根据学生的成绩进行排序 (8)统计不及格的人数并显示出来
1