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

正文內(nèi)容

c語(yǔ)言編程--圖書館管理系統(tǒng)-全文預(yù)覽

  

【正文】 o,char *chu)//增加圖書 { Book *p=query(n)。 top++。 fstream file(,ios::in)。//圖書庫(kù)類,實(shí)現(xiàn)對(duì)圖書的維護(hù),查找,刪除等class BDatabase{private: int top。 } return 0。 strcpy(chubanshe,chu)。}//刪除圖書 void addbook(int n,char *na,char *zuo,char *chu)//增加圖書 { tb=0。 }//獲取刪除標(biāo)記 void setname(char na[])//設(shè)置書名 { strcpy(name,na)。 }//獲取圖書編號(hào) char *getzuozhe(){return zuozhe。//出版社 int number。//刪除標(biāo)記 1:已刪 0:未刪 int no。 break。 break。 break。 r=query(kid)。 case 39。 if (r==NULL) { cout 沒(méi)有該學(xué)生信息! endl。339。 cin ryuan。 } cout 輸入新的學(xué)生姓名:。 cin kid。 break。 cin rname。 cin kid。 cin choice。 student *r。 int ex2。read[i],sizeof(read[i]))。//學(xué)生庫(kù)維護(hù) ~studentbase() //析構(gòu)函數(shù),將read[] { fstream file(,ios::out)。 } void disp() //輸出所有學(xué)生信息 { for (int i=0。amp。 } return 0。 } int addstudent(int n,int ex1,char *na,char *yu)//添加學(xué)生時(shí)先查找此學(xué)生信息是否存在 { student *p=query(n)。 top++。 fstream file(,ios::in)。//學(xué)生類庫(kù),用來(lái)建立學(xué)生的個(gè)人資料 class studentbase{ private: int top。iex。 return 1。 return。i++) borbook[i]=0。 strcpy(name,na)。 } void delbook(){ tb=1。} //獲取學(xué)號(hào) int getex(){return ex。//所借圖書 public: student() {} char *get_name() {return name。 //學(xué)號(hào) char name[10]。 //最大學(xué)生數(shù)const int Max2=100。const int Max1=100。 //刪除標(biāo)記 1:已刪 0:未刪 int no。 int borbook[Max3]。} //獲取刪除標(biāo)記 int get_no() {return no。 } void set_no(int n) //設(shè)置學(xué)號(hào) { no=n。 ex=ex1。iMax3。i++) { if (borbook[i]==0) { borbook[i]=bookid。i++) { if(borbook[i]==bookid) { borbook[i]=0。 for(int i=0。 }}。 top=1。 if (!file)break。 //關(guān)閉 } void clear()//刪除所有學(xué)生信息 { top=1。 return 1。i++) if (read[i].get_no()==kid amp。 } return NULL。 } void studentdata()。i++) if (read[i].get_tb()==0) ((char *)amp
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1