📄 list.h
字号:
#include<stdio.h>
#include<string.h>
#include<conio.h>
#include<stdlib.h>
#include<ctype.h>
#define STACK_INIT_SIZE 10
#define OK 1
#define TRUE 1
#define FALSE 0
#define ERROR 0
struct student /*定义学生类型,用于存放借出的书籍*/
{
int carnum;
char lendbook[10];
}student[1000];
struct club /*定义会员类型*/
{
int clubnum;
char clubname[15];
int clubage;
char clubsex[2];
}club[50];
struct book /*定义书的类型*/
{
int booknum;
char bookname[10];
char bookcreat[10];
int turefalse; /*用于借书和还书模块判断一本书是否借出的条件*/
}book[1000];
struct car /*借书卡的数据类型*/
{
int carnum;
char studentname[10];
int studentclass;
}car[100];
void huanbook(); /*还书函数*/
void addbook(); /* 新增图书*/
void book_menu(); /* 图书查询*/
void changebook(); /* 修改图书信息*/
void lendbook(); /* 借阅图书*/
void delbook(); /* 删除图书*/
void bookcount(); /* 图书统计*/
void lendcount(); /* 借书统计 */
void findbook(); /* 按书名查找图书*/
void findbook1(); /* 按作者查找图书*/
void addcar(); /* 新建卡*/
void carcount(); /* 统计借书卡*/
void delcar(); /* 删除借书卡*/
void addclub(); /* 新建会员*/
void changclub(); /* 修改会员*/
void clubcount(); /* 会员统计*/
void delclub(); /* 删除会员信息*/
void head_menu();
void system_menu();
void student_menu();
void club_menu();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -