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

正文內(nèi)容

圖書(shū)管理系統(tǒng)實(shí)訓(xùn)總結(jié)--定稿-資料下載頁(yè)

2024-11-18 23:29本頁(yè)面
  

【正文】 次序 currentllink=headllink。headllinkrlink=current。headllink=current。//最后做 } template DblNode* DblList::Remove(DblNode* p){ // 刪除結(jié)點(diǎn) current=headrlink。while(current!=headamp。164。t!=p)current=currentrlink。if(current==head)current=NULL。else{//結(jié)點(diǎn)摘下 pllinkrlink=prlink。prlinkllink=pllink。prlink=pllink=NULL。} return current。} template DblNode* DblList::Find(T data){ // 按結(jié)點(diǎn)查找 current=headrlink。while(current!=headamp。164。tInfo!=data)current=currentrlink。if(current==head)current=NULL。return current。} template DblNode* DblList::Find(int data){ // 按數(shù)據(jù)值查找結(jié)點(diǎn) current=headrlink。int temp =current()。while(current!=headamp。amp。temp!=data){ current=currentrlink。temp = current()。} if(current==head)current=NULL。return current。} template void DblList::Print(){ // 輸出鏈表 current=headrlink。while(current!=head){ coutInforlink。} cout int DblList::Length(){ // 取得鏈表長(zhǎng)度 int count=0。current=headrlink。while(current!=head){ count++。current=currentrlink。} return count。} template void DblList::ShowList(){ // 輸出鏈表各結(jié)點(diǎn) int count=0。current=headrlink。while(current!=head){ currentGetInfo().Show()。current=currentrlink。} return。} template istreamamp。 operator(istreamamp。 is, DblList amp。dlist){ int len。T tt。// 定義局部變量讀入一個(gè)結(jié)點(diǎn) islen。for(int i= 0。itt。(tt)。} return is。} template ostreamamp。 operator amp。dlist){ DblNode *tempP。int len = ()。osrlink。while(tempP!=){ // 循環(huán)輸出鏈表各結(jié)點(diǎn) osInfo。tempP = tempPrlink。} return os。} include “” include “” include class Library{ // 封裝圖書(shū)館流通業(yè)務(wù)的類 DblList item。// 在館圖書(shū)鏈表 DblList mag。// 在館雜志鏈表 DblList reader。// 讀者鏈表 DblList loan。// 借閱信息鏈表 DblList manager。// 管理員信息鏈表 int itemNum。// 記錄在館圖書(shū)數(shù)目 int magNum。// 記錄在館雜志數(shù)目 int readerNum。// 記錄讀者數(shù)目 int loanNum。// 記錄借閱信息數(shù)目 int managerNum。// 記錄管理員數(shù)目 ofstream itemFileOut。// 文件流對(duì)象,保存圖書(shū)館書(shū)籍?dāng)?shù)據(jù) ifstream itemFileIn。// 文件流對(duì)象,讀入圖書(shū)館書(shū)籍?dāng)?shù)據(jù) ofstream magFileOut。// 文件流對(duì)象,保存圖書(shū)館雜志數(shù)據(jù) ifstream magFileIn。// 文件流對(duì)象,讀入圖書(shū)館雜志數(shù)據(jù) ofstream readerFileOut。// 文件流對(duì)象,保存圖書(shū)館讀者數(shù)據(jù) ifstream readerFileIn。// 文件流對(duì)象,讀入圖書(shū)館讀者數(shù)據(jù) ofstream loanFileOut。// 文件流對(duì)象,保存圖書(shū)館借閱信息數(shù)據(jù) ifstream loanFileIn。// 文件流對(duì)象,讀入圖書(shū)館借閱信息 ofstream managerFileOut。// 文件流對(duì)象,保存圖書(shū)館管理員數(shù)據(jù) ifstream managerFileIn。// 文件流對(duì)象,讀入圖書(shū)館管理員數(shù)據(jù) public: Library()。// 構(gòu)造函數(shù) ~Library()。//析構(gòu)函數(shù) void Run()。// 圖書(shū)館類的運(yùn)行函數(shù) void CreateBibliotheca()。// 創(chuàng)建書(shū)目 void CreateReader()。// 創(chuàng)建讀者庫(kù) void CreateManager()。// 創(chuàng)建管理員信息 int ShowMainMenu()。// 顯示主菜單函數(shù) void Borrow()。// 借書(shū)操作 void Return()。// 還書(shū)操作 void Require()。// 查詢操作 void SaveInfo()。// 保存圖書(shū)館信息 void OpenInfo()。// 讀入圖書(shū)館信息 }。
點(diǎn)擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1