freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c圖書管理系統(tǒng)代碼-免費(fèi)閱讀

2025-03-06 06:47 上一頁面

下一頁面
  

【正文】 } bretbook()。 r=(readerid)。 } cout讀者借書成功 !endl。 break。 break。 cinchoice5。039。 } } } void main() //實(shí)現(xiàn)程序的主界面 { char choice5。 disp()。 } coutsetw(10)讀者編號(hào) setw(17)讀者姓名 setw(20)已借書編號(hào) endl。 } coutsetw(10)讀者編號(hào) setw(17)讀者姓名 setw(20)已借書 編號(hào) endl。 cout\t\t\t** 回 **endl。 } rdelbook()。 break。 r=queryid(readerid)。 addreader(readerid,rname)。 cout\t\t\t 請選擇: 。) { cout\n\t\t\t** 讀 者 信 息 **\nendl。 void RDatabase::readerdata() { char choice1。 } void readerdata()。i++) if (strcmp(read[i].getname(),readername)==0 amp。i=top。 //關(guān)閉 文件 } void clear() {//刪除所有讀者信息 top=1。 top=1。 cout[borbook[i]]\t\tendl。 } } cout未借該書,還書失敗 !endl。iMaxbor。 } void delbook() {//設(shè)置 刪除標(biāo)記 1:已刪 0:未刪 tag=1。 //刪除標(biāo)記 1表示已刪 0表示未刪 int no。 getch()。 b=query4(ame)。 b=query2(bname)。 b=query1(bookid)。 cout\t\t\t** **endl。 break。 getch()。 cinauname。 bdisp()。239。 ciname。 b=query1(bookid)。 cout\t\t\t** 刪 **endl。 while (choice3!=39。 char bname[40]。 } ~BDatabase() {//析構(gòu)函數(shù),將 book[]寫到 fstream file(,ios::out)。 edisp()。 int r=0。book[i].gettag()==0) { if(r==0) coutsetw(6)編號(hào) setw(18)書名 setw(10)作者 setw(10)出版社 setw(10)存量 endl。 } if(r==0) cout找不到該書 !endl。i=top。i++) if(book[i].getno()==bookid amp。 } void clear() {//全刪 top=1。 top=1。 return 1。 } void delbook() {//刪除圖書 tag=1。 //是否再架 1:再架 2:已借 public: Book(){。//最多的讀者數(shù) const int Maxb=100。 //書名 char author[20]。 } int gettag() {//獲取刪除標(biāo)記 return tag。 strcpy(cbs,ca)。 class BDatabase {//圖書庫類,實(shí)現(xiàn)對(duì)圖書的維護(hù),查找,刪除等 private: int top。 top++。 } return 0。 } Book *query2(char a[]) {//按書名查找圖書 Book *e。book[i]。i=top。 } if(r==0) cout找不到該書 !endl。book[i].gettag()==0) { if(r==0)coutsetw(6)編號(hào) setw(18)書名 setw(10)作者setw(10)出版社 setw(10)存量 endl。 //圖書庫信息 void disp() { for(int i=0。 ()。 int bookid。 cout\t\t\t** 除 **endl。139。 cout請輸入新書作者名 :。 getch()。 break。) { cout請輸入新的書名 :。 bsetname(bname)。 cinbookid。 case 39。 cinchoice4。 break。 break。539。 break。 } int gettag() {//獲取刪除標(biāo)記 return tag。iMaxbor。i++) { if(borbook[i]==bookid) { borbook[i]=0。 for(int i=0。 class RDatabase {//讀者類庫,實(shí)現(xiàn)建立讀者的個(gè)人資料 private: int top。 top++。 } else cout該編
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1