当前位置:网站首页>Implementation of book borrowing management system based on C language
Implementation of book borrowing management system based on C language
2022-07-29 07:05:00 【biyezuopin】
1. Demand analysis
- The target problem is described below
- requirement : Design library management system , Realize the management of books and their borrowing functions . At the same time, according to the user ( Teachers' , Student ) Different provides different functions .
2. overall design
The document structure of this project is shown in the figure below
The detailed explanation is as follows
- File.h File reading and writing module
- GLOBAL.h Global variables and macro definition module
- init.h Program main loop module
- List.h Book linked list module
- User.h User function module
- userlist.h User linked list module
- Date.h Time module
The operation flow chart is roughly as follows :
- Initialize various parameters and books , Student information file ( When starting for the first time, create )
- Enter the main part of the program
- The program is divided into three states
- Visitor status
- Student status
- Administrator status
- Each state corresponds to different functions and permissions , You can switch freely in these login modes
- Choose different functions according to the prompts , The query , The return , Borrow , A series of operations such as adding and deleting
- Exit procedure , Save the file
3. Detailed design
See the functions of each function module for details , There are complete notes and instructions
4. System test and analysis
The screenshot of the test process is as follows :
Program initialization interface

Student interface

Borrow books

View personal information

Return books

Administrator interface

Add books

Save the data

The contents of the document

Ps: We also designed many functions , For example, student registration , Login needs to verify the password and other realistic functions , Please explore more XD. There are no students when entering the program for the first time , Need to register . The administrator has only set one ,ID by 1, The password for :123456. in addition , You need to perform “ Exit procedure ” To save all files , Forcing the program to close will lose data .
边栏推荐
- 【C语言刷LeetCode】1054. 距离相等的条形码(M)
- HJ37 统计每个月兔子的总数 斐波那契数列
- Unity探索地块通路设计分析 & 流程+代码具体实现
- Basic knowledge of MySQL (high frequency interview questions)
- 基于C语言设计的学籍管理系统
- Invalid access control
- Teacher Wu Enda machine learning course notes 01 introduction
- Share some tips for better code, smooth coding and improve efficiency
- MySQL: what happens in the bufferpool when you crud? Ten pictures can make it clear
- Federal learning backdoor attack summary (2019-2022)
猜你喜欢

win11系统错误:由于找不到 iertutil.dll,无法继续执行代码。重新安装程序可能会解决此问题

Windows 上 php 7.4 连接 oracle 配置

Actual combat! Talk about how to solve the deep paging problem of MySQL

Idea cannot find a database solution

外包干了3年,跳槽后转自动化测试工资是原来的2倍,秘诀原来是......

IDEA中实现Mapper接口到映射文件xml的跳转

Unity exploration plot access design analysis & process + code specific implementation

Flink real time warehouse DWD layer (traffic domain) template code

Record - step on the pit - real-time data warehouse development - doris/pg/flink

Teacher wangshuyao's notes on operations research 04 fundamentals of linear algebra
随机推荐
Revolution of game assets
LDAP brief description and unified authentication description
IO stream - file - properties
Not so simple singleton mode
pytorch的技巧记录
图像加噪声与矩阵求逆
Teacher Wang Shuyao's notes on operations research 09 linear programming and simplex method (Application of simplex table)
Teacher Cui Xueting's course notes on optimization theory and methods 00 are written in the front
【C语言刷LeetCode】2332. 坐上公交的最晚时间(M)
SS command details
Dbasql interview questions
Connecting PHP 7.4 to Oracle configuration on Windows
Teacher wangshuyao's notes on operations research 03 KKT theorem
resize2fs: 超级块中的幻数有错(Bad magic number in super-block )
Unity探索地块通路设计分析 & 流程+代码具体实现
[C language brush leetcode] 2332. The latest time to get on the bus (m)
外包干了3年,跳槽后转自动化测试工资是原来的2倍,秘诀原来是......
Flink real-time warehouse DWD layer (order placing multiple tables to realize join operation) template code
MySQL: what happens in the bufferpool when you crud? Ten pictures can make it clear
Flink real-time warehouse DWD layer (transaction domain - additional purchase dimension degradation processing) template code