# 图书管理系统
### 简要说明:
+ 完成时间:2019年暑假
+ 内容:大一上期C语言程序设计作业,编写的图书管理系统
+ 运行环境:Visual C++ 6.0
+ 编码格式为GBK,如果打开中文为乱码请转换成UTF-8
### 代码片段演示:
```C++
//图书管理系统结构体
//时间
typedef struct timeInfo{
int year;
int mouth;
int day;
int hour;
int min;
int sec;
}TIME;
//读者信息
typedef struct readerInfo{
char name[30];//姓名
char no[20];//学号
char password[16];//密码
int maxnum;//最大借阅额度
struct readerInfo * next;
}READ;
//图书信息
typedef struct book{
char no[20];//图书编号
char bookName[50];//图书名
char author[20];//作者名
char type[10];//图书类型
char unit[30];//出版单位
float price;//图书单价
int num;//库存数量
struct book * next;
}BOOK;
//图书借阅信息
typedef struct bookLend{
char no[20];//借书学生学号
char bookno[20];//图书编号
TIME * remand;//借/还日期
char condition[10];//借阅状态
struct bookLend * next;
}LEND;
//管理员登录信息结构体
typedef struct loginInfo{
int times;//次数
char username[20];//用户名
char password[16];//密码
TIME * logintime;//登录时间
struct loginInfo * next;
}LOGIN;
//图书管理界面
void book_windows()
{
BOOK * head = getNode();
int n;
book_read(head);
system("cls");
printf("\n");
printf("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━");
printf("***********************[图书信息管理]***********************");
printf("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n\n");
printf(" \n");
printf(" [1.图书信息添加] \n");
printf(" \n");
printf(" [2.图书信息查询] \n");
printf(" \n");
printf(" [3.图书信息修改] \n");
printf(" \n");
printf(" [4.图书信息删除] \n");
printf(" \n");
printf(" [5.返回上级菜单] \n");
printf(" \n");
printf("\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n");
printf("\n\t[请选择]\t·");
scanf("%d", &n);
switch (n)
{
case 1: bookLoad_system(head); break;
case 2: book_inquire(head); break;
case 3: book_change(head); break;
case 4: book_delete(head); break;
case 5:administrator_windows(); break;
default:printf("\t\t输入有误!\n");
Sleep(1000);
book_windows();
break;
}
}
```
### 程序部分示例:
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/0723e5254e7add9c0cf13c96cb110ff1.writebug)](https://imgchr.com/i/YyQ7z6)
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/1665afef9ec7b399c44969b6025d3ba3.writebug)](https://imgchr.com/i/Yy1ZnO)
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/db10f220d63d4a23dd9023ce55f941c8.writebug)](https://imgchr.com/i/Yy1k1x)
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/ca94023924a957d7a96ab7f7417894b7.writebug)](https://imgchr.com/i/Yy1CN9)
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/b7eebefb6eaa666631ef037ac4bd54c7.writebug)](https://imgchr.com/i/Yy1PhR)
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/90e6e418e37f6345e61da79a28e22a04.writebug)](https://imgchr.com/i/Yy1F91)
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/6b9c7c8dd2305db73c57f946597f829a.writebug)](https://imgchr.com/i/Yy1Ac6)
[![](https://www.writebug.com/myres/static/uploads/2023/2/7/ee227a7b242e0ad9c66270a0598b45ef.writebug)](https://imgchr.com/i/Yy1EjK)
没有合适的资源?快使用搜索试试~ 我知道了~
基于C++设计的(控制台)图书管理系统【100011550】
共5个文件
h:2个
md:1个
license:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 106 浏览量
2023-04-04
09:22:57
上传
评论
收藏 12KB ZIP 举报
温馨提示
大一上期C语言程序设计作业,编写的图书管理系统 随着各图书馆的图书数量不断增多和图书馆规模的不断扩大,管理这些庞大的体系非常困难的,因为图书的情况是随时改变的,因此必需对图书进行动态的管理,而这对于一个管理人员来说是一件比较复杂的事情。 运行环境:Visual C++ 6.0 编码格式为GBK,如果打开中文为乱码请转换成UTF-8
资源推荐
资源详情
资源评论
收起资源包目录
100011550-基于C++设计的(控制天)图书管理系统.zip (5个子文件)
356712
LICENSE 1KB
main.cpp 57KB
main.h 2KB
README.md 4KB
struct.h 995B
共 5 条
- 1
资源评论
神仙别闹
- 粉丝: 2674
- 资源: 7640
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功