学籍管理系统C语言版

所属分类:*行业应用
开发工具:C/C++
文件大小:247KB
下载次数:129
上传日期:2005-04-15 14:47:35
上 传 者nicolasgz
说明:  学籍管理系统!利用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 ensure preservation of diversity. List of the operation : to be inserted into (building), delete, search, modify, sort. The five basic functions. Five were used to complete the function. January 1 is not described here. Which, delete, search, modi)

文件列表:
cp\student.c (528, 2004-06-13)
cp\Debug (0, 2004-07-04)
cp\text.ncb (41984, 2004-07-07)
cp\text.plg (726, 2004-07-07)
cp\text.dsp (3375, 2004-07-07)
cp\text.C (15346, 2004-07-07)
cp\text.opt (48640, 2004-07-07)
cp\text.dsw (514, 2004-07-07)
cp (0, 2004-06-25)
解压在c盘根目录.txt (0, 2004-07-07)
新建 Microsoft Word 文档.doc (136192, 2004-07-07)

近期下载者

相关文件


收藏者