?? findbook_menu.cpp
字號:
#include<iostream>
using namespace std;
int iChoice(int maxnum);
//返回值為選項
int iFindbook_menu() //打印查找書本的菜單,并讓用戶選擇用何種方式查詢
{
system("cls");
cout<<"\t\t〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓"<<endl;
cout<<"\t\t〓 〓"<<endl;
cout<<"\t\t〓 1.使用書本名字查詢! 〓"<<endl;
cout<<"\t\t〓 〓"<<endl;
cout<<"\t\t〓 2.使用索引號碼查詢! 〓"<<endl;
cout<<"\t\t〓 〓"<<endl;
cout<<"\t\t〓 3.使用作者名字查詢! 〓"<<endl;
cout<<"\t\t〓 〓"<<endl;
cout<<"\t\t〓 4.返回上一頁! 〓"<<endl;
cout<<"\t\t〓 〓"<<endl;
cout<<"\t\t〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓"<<endl<<endl;
return iChoice(4);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -