You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
610 B

#include<iostream>
#include"library.h"
#include"book.h"
using std::cin;
using std::endl;
int main()
{
wxy::daoru();
wxy::title();
for (;;)
{
char menu;
cin.get(menu);
switch (menu)
{
case'a':case'A': wxy::liulan(); cin.get(menu); break;
case'b':case'B': wxy::jieshu(); cin.get(menu); break;
case'r':case'R': wxy::huanshu(); cin.get(menu); break;
case'l':case'L': wxy::SearchBook(); cin.get(menu); break;
case'm':case'M': wxy::guanli(); cin.get(menu); break;
case'q':case'Q':return 0; break;
default:cin.get(menu); break;
}
wxy::title();
}
return 0;
}