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

正文內(nèi)容

c課程設(shè)計(jì)---電話薄管理-在線瀏覽

2025-03-30 06:40本頁(yè)面
  

【正文】 )。 //從文件載入數(shù)據(jù)函數(shù) void delete_record()。 //確認(rèn)刪除的函數(shù) void write_list_to_file()。 //選擇處理函數(shù) void help_me()。 CTelRecord::CTelRecord() { strcpy(date,date)。 strcpy(szName,姓氏 )。 strcpy(szNumber,電話號(hào)碼 )。 strcpy(time,TT)。 strcpy(szNumber,number)。 } void CTelRecord::SetRecord(char *lastname,char *firstname,char *number,char *DD,char *TT) { strcpy(date,DD)。 strcpy(szName,lastname)。 strcpy(szTName,firstname)。ctelrecord) { if(strcmp(,szName)==0||strcmp(ctelrecor,szTName)==0) return 0。 } void CTelRecord::Show() { char name[40]。 strcat(name,szTName)。\n39。 } int CTelRecord::LookChar(char szlastName[]) { if(strcmp(szName,szlastName)==0) return 1。 } CNode::CNode(CNode amp。 } void CList::AddNode(CNode *pnode) { pHead=pnode。 } CNode *CList::GetListNextNode(CNode *pnode) { return pnodepNext。 if(pHead==NULL) {pHead=pnode。} else {while(MpNext) {M=MpNext。 pnodepNext=NULL。 ifstream infile。 CNode *new_rec_ptr。 if (!!infile) // 如果成功打開(kāi)文件 { // 從文件讀入數(shù)據(jù) char dd[20]。 char LName[20]。 char Number[20]。end_loop==0 。 if(new_rec_ptrGetData()==NULL) { end_loop=1。 } if(new_rec_ptr != NULL) // 確保 new_rec_ptr指針不為NULL { if(!()) //如果文件中有數(shù)據(jù)可讀入 { (LName,20)。 (Number,20)。 (tt,20)。amp。 if(pHead==NULL) //若頭指針為零 AddNode(new_rec_ptr)。 strcpy(LName,)。 strcpy(Number,)。 strcpy(tt,)。 } else { cout 輸入完成! \n。 } } } return 1。 // 關(guān)閉文件 } else // 打開(kāi)文件失敗 { cout 數(shù)據(jù)庫(kù)中暫時(shí)沒(méi)有數(shù)據(jù) \n。 } } // 文件錄入函數(shù)結(jié)束 void CList::delete_record() { CNode * Q。 system(cls)。 CNode *ode。 current_ptr = pHead。\n39。 cout \n 您想要?jiǎng)h除誰(shuí)的記錄? :。 (20,39。)。amp。amp。amp。 current_ptr = current_ptrpNext。amp。 cout current_ptrGetData()GetFName() , current_ptrGetData()GetLName() endl。 if(verify_delete()) { DeleteNode(current_ptr)。 } else { cout \n 沒(méi)有刪除任何記錄 \n。 } system(cls)。 system(time /t)。 Q= pHead。 system(time /t)。 delete ode 。 while(p_lookpNext!=ode)。 p_lookpNext = NULL。 } QpNext=odepNext。 } } } void CList::DeleteList() //刪除鏈表函數(shù) { CNode*temp_ptr。 do { temp_ptr=current_ptrGetpNext()。 else current_ptr=temp_ptr。 } // 刪除鏈表函數(shù)結(jié)束 void CList::ShowList() //顯示信息函數(shù) { char fullname[30]。 current_ptr = pHead。amp。 cout 姓名 : 電話號(hào)碼 : 錄入時(shí)間 : \n。 // 清除 fullname 的內(nèi)容 . strcat(fullname, current_ptrGetData()GetLName())。 strcpy(date_time,current_ptrGetData()GetDate())。 (ios::left)。 cout setw(20) current_ptrGetData()GetNumber()setw(30)date_time endl。 cout endl。 cout 請(qǐng)按回車鍵 \n。 (1,pause)。 } } // 顯示信息函數(shù)結(jié)束 int CList::verify_delete() { char YesNo。 cin YesNo。Y39。y39。 } else { return 0。 (,ios::out|ios::nocreate)。 if(pHead != NULLamp。current_ptrGetData()!=0) { do { outfilesetiosflags(ios::left)current_ptrGetData()GetLName()39。 outfilesetiosflags(ios::left)current_ptrGetData()GetFName()39。 outfilesetiosflags(ios::left)current_ptrGetData()GetNumber()39。 outfilesetiosflags(ios::left)current_ptrGetData()GetDate()39。 outfilesetiosflags(ios::left)current_ptrGetData()GetTime()39。 current_ptr = current_ptrpNext。 } ()。
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1