diff --git a/图书管理.c b/图书管理.c new file mode 100644 index 0000000..1a9c08e --- /dev/null +++ b/图书管理.c @@ -0,0 +1,105 @@ +#define _CRT_SECURE_NO_WARNINGS +#include +#include /*getch()函数使用的头文件*/ +#include /*Sleep()函数使用的头文件*/ +#include /*strcmp()函数使用的头文件*/ +#include + + + + +/*图书结构体:图书编号,图书名,图书作者,出版社,库存量*/ +typedef struct Book +{ + +}Book; + +/*读者:读者编号,读者姓名,性别,可借书数,读者已借书的编号*/ +typedef struct Reader +{ + +}Reader; + + +void ShowLibInfo(const Book* book, const Reader* reader); +void ShowLibBook(Book* book); +Book* AddBook(Book* book); +Book* DealoldBook(Book* book); +void foundBook(Book* book); +void foundReader_Info(Reader* reader); +void foundReaderInfo(Reader* reader); +Reader* LendBook(Reader* reader, Book* book); +void returnBook(Reader* reader, Book* book); +void save(Book* book); +Book* read1(); + + +void ShowMainMenu() +{ + +} + + + + +int main() +{ + +} + +//查询图书馆的总信息 +void ShowLibInfo(const Book* book1, const Reader* reader1) +{ + +} + //查寻图书馆藏书信息 +void ShowLibBook(Book* book1) +{ + +} +//存入新书 +Book* AddBook(Book* book1) +{ + +} + + + + //旧书处理 +Book* DealoldBook(Book* book1) +{ + +} +//根据书名检索书刊信息 +void foundBook(Book* book1) +{ + +} +//查询读者的借阅信息 +void foundReader_Info(Reader* reader1) +{ + +} +//查询读者信息 +void foundReaderInfo(Reader* reader1) +{ + +} +//读者借书 +Reader* LendBook(Reader* reader1, Book* book1) +{ + +} + + + //读者还书 +void save(Book* book1) +{ + +} + + //从文件读取 +Book* read1() +{ + +} \ No newline at end of file