parent
b4ffd6d297
commit
b62ae30136
@ -0,0 +1,28 @@
|
||||
#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;
|
||||
}
|
Loading…
Reference in new issue