#include
#include
#include
#include
#include
typedef int BOOL;
typedef struct bookinfo
{
字符号[15]; / *产品编号* /
字符名称[30]; / *产品名称* /
浮动价格; / *单价* /
字符验证[20]; / *作者* /
BOOL isExit; / *现有状态* /
char贷方名称[20]; / *借款人的姓名* /
char lendersex [2]; / *借款人的性别* /
char lendernum [15]; / *借款人ID * /
} BOOKINFO;
无效菜单()
{
printf(“ \ n \ n \ n \ n \ n \ n \ n”);
printf(“ \ t \ t \ t图书馆管理系统\ n”);
printf(“ \ t \ t \ t1大型基于c语言图书管理系统: 输入新书的基本信息\ n”);
printf(“ \ t \ t \ t2: 显示所有记录\ n”);
printf(“ \ t \ t \ t3:通过书名查询关于一本书的基本信息\ n”);
printf(“ \ t \ t \ t4大型基于c语言图书管理系统: 基于书名删除已撤销的书信息\ n”);
printf(“ \ t \ t \ t5: 按书名从大到小\ n”排序);
printf(“ \ t \ t \ t6: 计算超过一定价格的书本\ n”);
printf(“ \ t \ t \ t7: 列出所有尚未签出的图书信息\ n”);
printf(“ \ t \ t \ t8: 退出\ n”);
}
void choice_1_input_new()/ *输入新书信息* /
{
字符选择;
文件* p;
BOOKINFO新书;
system(“ cls”);
同时(1)
{
printf(“输入书号: ”);
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-155964-1.html