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

正文內(nèi)容

c數(shù)據(jù)庫(kù)管理系統(tǒng)(完整版)

  

【正文】 (r==NULL) { cout 該讀者不存在 endl。 cin rname。039。read[i],sizeof(read[i]))。 } void disp() //輸出所有讀者信息 { for (int i=0。 } return 0。 top++。 //讀者類庫(kù),實(shí)現(xiàn)建立讀者的個(gè)人資料 class RDatabase { private: int top。 return 1。i++) borbook[i]=0。} //獲取讀者編號(hào) int getborbook(int i) { return borbook[i]。//最多的圖書 const int Maxbor=5。通過(guò) C++語(yǔ)言編寫實(shí)際應(yīng)用程序,提高用 C++語(yǔ)言解決實(shí)際問(wèn)題的能力。其目的在于 鞏固和加深對(duì) C++語(yǔ)言課程的基本知識(shí)的理解和掌握;掌握 C++語(yǔ)言編程和程序調(diào)試的基本技能;利用 C++語(yǔ)言進(jìn)行軟件設(shè)計(jì)的基本思路和方法;提高運(yùn)用 C++語(yǔ)言解決實(shí)際問(wèn)題的能力。 ( 4) .完成對(duì)該系統(tǒng)的測(cè)試和調(diào)試。 3. 詳細(xì)分析 管理員登錄adminlogin() 讀者登錄readerlogin() 圖書管理 BDatabase 讀者管理 RDatabase 許四平 第 4 頁(yè) 2020101211 include iostream include iomanip include string include fstream//輸入 /輸出文件流類 using namespace std。//所借圖書 public: Reader() {} char *getname() {return name。 strcpy(name,na)。 } } } int retbook(int bookid)//還書操作 { for(int i=0。i++) if(borbook[i]!=0) cout borbook[i] |。//打開一個(gè)輸 入文件 while (1) { ((char *)amp。 if (p==NULL) { top++。 read[i].gettag()==0) { return amp。 for (int i=0。 int readerid。: cout 輸入讀者編號(hào) :。: cout 輸入讀者編號(hào) :。 break。 } rdelreader()。 break。639。} //獲取姓名 int gettag() {return tag。 } int borrowbook() { if (tag==1) return 0。 許四平 第 10 頁(yè) 2020101211 class BDatabase { private: int top。 top++。 } return 0。i=top。 } }。 cout \n\n\n\t\t 1 新 增 \n\n\t\t 2 更 改 \n\n\t\t 3 刪 除 \n\n\t\t 4 查 找 \n\n\t\t 5 顯 示 \n\n\t\t 6 全 刪 \n\n\t\t 0 退 出 endl。 addbook (bookid,bname)。 break。 cin bookid。: cout 讀入圖書編號(hào) :endl。539。 } } } void help() { cout\n本程序功能如下 :endl。 cout ( 7)刪除圖書的信息(圖書號(hào),書名,作者,出版社,數(shù)量等); endl。 endl。 Book *b。: cout 借書 讀者編號(hào) :。 if (b==NULL) { cout 不存在該圖書,不能借書 endl。239。 } b=(bookid)。: ()。: 許四平 第 15 頁(yè) 2020101211 help()。 int bookid,readerid。 if (r!=NULL) { while(choice!=39。 cout 圖書編號(hào): 。 bdelbook()。 if (b==NULL) { cout 不存在該圖書,不能還書 endl。 break。 } } void login() { char choice=0。239。 cout 管理員密碼 :。 。 if(adminname==admin amp。 cout\t\t\t1 管理員登錄 \n\n\n\t\t\t2 學(xué)生登錄 \n\n\n。 string adminpassword。 case 39。 } for(i=0。 case 39。 b=(bookid)。) { cout endlendl\t\t\t 讀 者 管 理 系 統(tǒng) \n\n\n。 Reader *r。 case 39。 case 39。 break。 cin readerid。 } if (bborrowbook()==0) { cou
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1