|
|
@ -28,26 +28,32 @@ void DoBoorowBook(); // 借用图书
|
|
|
|
void repaid_book(void) // 还书
|
|
|
|
void repaid_book(void) // 还书
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("还书\n");
|
|
|
|
printf("还书\n");
|
|
|
|
|
|
|
|
DoRepaidBook();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
void boorow_book(void) // 借书
|
|
|
|
void boorow_book(void) // 借书
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("借书\n");
|
|
|
|
printf("借书\n");
|
|
|
|
|
|
|
|
DoBoorowBook();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
void query_book(void) // 查询
|
|
|
|
void query_book(void) // 查询
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("查书\n");
|
|
|
|
printf("查书\n");
|
|
|
|
|
|
|
|
DoFindBook();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
void print_book(void) // 打印
|
|
|
|
void print_book(void) // 打印
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("打印\n");
|
|
|
|
printf("打印\n");
|
|
|
|
|
|
|
|
DoPrintBook();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
void add_book(void) // 添加
|
|
|
|
void add_book(void) // 添加
|
|
|
|
{
|
|
|
|
{
|
|
|
|
puts("添加");
|
|
|
|
puts("添加");
|
|
|
|
|
|
|
|
DoAddBook();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
void delete_book(void) // 删除
|
|
|
|
void delete_book(void) // 删除
|
|
|
|
{
|
|
|
|
{
|
|
|
|
puts("删除");
|
|
|
|
puts("删除");
|
|
|
|
|
|
|
|
DoDeleteBook();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|