-
学籍管理系统!利用C语言实现! 在构思基本模块时,订立了“读取文件到内存形成链表,对链表的操作,将内存的链表内容保存到文件”三大基本块。 读取文件:在main函...
学籍管理系统!利用C语言实现! 在构思基本模块时,订立了“读取文件到内存形成链表,对链表的操作,将内存的链表内容保存到文件”三大基本块。 读取文件:在main函数里完成。原理是,先检查文件指针是否在末尾,若否,则在内存开辟一个单位长度,在文件中读取单位长度数据入该空间中,并彼此构成链表。采取带参数的主函数,以保证保存文件的多样性。 对链表的操作:可分为插入(建立),删除,查找,修改,排序。五大基本功能。分别用五个函数完成。这里不一一描述。其中,删除,查找,修改都是要用到查找一个数据的操作。所以,在编写查找函数时,兼顾了删除,修改操作所需的元素。在删除中,尝试书中原始方法,而修改操作则保留我原有的引用。排序函数中,设想对已有的各项排序,因此按照每项再另建函数。通过代码量上的增加来确保运行的一次可行性。每次运行完都返回一个head值。再通过主函数的数据显示循环显示结果。 保存操作:关闭已打开文件。用“写”的形式建立同名的(同时自动删除原有的),将内存中的链表完全输出到文件中。-expulsion management system! The use of C language! The basic module concept, the setting of the "read files into memory formation Chain, Chain operation, the memory contents of the List to preserve documents" three basic block. Read documents : the main function was completed. Principle is that the first checks whether the file pointer at the end, and if not, in the memory unit opened up a length in the document read data into the unit length of the space, and with each other constitute List. Parameters taken with the main function, to ensu
- 2022-04-22 21:37:58下载
- 积分:1
-
公司进销存管理的实例
公司进销存管理的实例-company MANAGEMENT examples
- 2022-01-26 20:16:19下载
- 积分:1
-
学籍管理
学籍管理- The school register manages
- 2022-08-03 07:41:21下载
- 积分:1
-
车辆二级维护竣工检测检验线部分源程序代码,
车辆二级维护竣工检测检验线部分源程序代码,-Maintenance of vehicles completed two parts of the code line Detected
- 2022-01-31 08:51:43下载
- 积分:1
-
学校导游系统
学校导游系统-school system guides
- 2022-01-26 00:43:19下载
- 积分:1
-
由应答器组成的计算机局域网
用计算机局域网组成的抢答器-computer LAN consisting of Responder
- 2022-08-05 18:24:37下载
- 积分:1
-
获取摄象头视频图(PB)
获取摄象头视频图(PB)-access combo video map (PB)
- 2022-08-21 19:37:04下载
- 积分:1
-
人口管理系统,用于人口管理
人口管理系统,用于人口管理-population management system for population management
- 2022-03-19 23:30:42下载
- 积分:1
-
一个物资管理系统,一般
一个物资管理系统,一般--A Substance Management System
- 2022-04-26 10:23:56下载
- 积分:1
-
优盘格式化工具,非常好用,刚刚修好了自己的优盘,使用简单方便。...
优盘格式化工具,非常好用,刚刚修好了自己的优盘,使用简单方便。-thumb drive formatting tools, very good, newly built its own thumb drive, the use of simple and convenient.
- 2023-03-11 07:10:03下载
- 积分:1