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

正文內(nèi)容

c課程設(shè)計---電話薄管理-資料下載頁

2025-01-18 12:53本頁面
  

【正文】 ()。 cout請選擇您要修改的項目:\n。 cout修改電話號碼\n。 cout修改姓名\n。 cinch1。 switch(ch1) { case 1: char number[20]。 cout請輸入新的電話號碼\n。 ()。 (number,20)。 current_ptrGetData()Modify(number)。 system(date /t)。 (c:\\,ios::in|ios::nocreate)。 (dd,20)。 ()。 system(time /tc:\\)。 (c:\\,ios::in|ios::nocreate)。 (tt,20)。 ()。 current_ptrGetData()SetDate_Time(dd,tt)。 break。 case 2: if(verify_delete()) { DeleteNode(current_ptr)。 CNode *pnode。 pnode=new CNode。 char first_name[20]。 char last_name[20]。 char phone_num[20]。 if(pnode!=NULL) { CTelRecord *ctelrecord=new CTelRecord。 system(cls)。 (20,39。\n39。)。 cout 請輸入要添加的名字:\n 。 (first_name,20)。 (20,39。\n39。)。 cout 請輸入要添加的姓氏:\n 。 (last_name,20)。 (20,39。\n39。)。 cout 請輸入要添加的電話號碼:\n 。 (phone_num,20)。 (20,39。\n39。)。 system(date /tc:\\)。 (c:\\,ios::in|ios::nocreate)。 (dd,20)。 ()。 system(time /tc:\\)。 (d:\\,ios::in|ios::nocreate)。 (tt,20)。 ()。 ctelrecordSetRecord(last_name,first_name,phone_num,dd,tt)。 pnodeInputData(ctelrecord)。 Insert(pnode)。 } cout已完成修改\n。 } else cout修改失敗\n。 break。 default: cout您的輸入有誤,請重新輸入\n。 break。 } cout您修改記錄的時間是:\n。 system(date /t)。 system(time /t)。 cout還要繼續(xù)修改嗎?(y/n)\n。 (ch)。 } }while(ch==39。y39。||ch==39。Y39。)。 ()。 } break。 case 5: do{ char lastname[20],firstname[20]。 CTelRecord ctelrecord。 cout請輸入要查找的姓氏\n。 (lastname,20)。 (20,39。\n39。)。 cout請輸入要查找的名字\n。 (firstname,20)。 (20,39。\n39。)。 (lastname,firstname, , , )。 current_ptr=pHead。 while(current_ptr!=NULLamp。amp。current_ptrGetData()Compare(ctelrecord)!=0) current_ptr=current_ptrpNext。 if(current_ptr==NULL) cout對不起沒有找到您要找的記錄\n。 else { cout您要找的記錄:\n。 current_ptrShowNode()。 } cout您查找的時間是:\n。 system(date /t)。 system(time /t)。 cout要繼續(xù)嗎?(y/n)\n。 (ch)。 }while(ch==39。y39。||ch==39。Y39。)。 system(cls)。 break。 case 6: { system(cls)。 char LName[20]。 cout請輸入要查找的姓氏\n。 ()。 (LName,20)。 (20,39。\n39。)。 cout您當(dāng)前查找的時間是:\n。 system(date /t)。 system(time /t)。 CTelRecord ctelrecord(LName,)。 LookUp(ctelrecord)。 } break。 case 7: help_me()。 break。 case 0: cout歡迎使用電話簿管理系統(tǒng)\n。 system(date /t)。 system(time /t)。 if(pHead != NULL) // 如果鏈表頭不為空 { write_list_to_file()。 DeleteList()。 } break。 default : // 如果您的輸入出錯 cout 您的輸入有誤,請重新輸入\n。 break。 }} // 選擇處理函數(shù)結(jié)束int main(){ int choice。 CNode node。//定義一個節(jié)點類對象 CList ClassNumberList。//定義一個鏈表類對象 cout 歡迎使用電話簿管理系統(tǒng)\n。 cout 設(shè)計者:李冬運 學(xué)號:912110190237\n。 cout 指導(dǎo)老師:蔡驊 \n。 ()。 // 從文件讀入數(shù)據(jù) current_ptr=()。 do { system(cls)。// 主菜單顯示 system(date /t)。 system(time /t)。 cout 1 添加電話薄記錄\n。 cout 2 顯示電話薄內(nèi)容\n。 cout 3 刪除已有數(shù)據(jù)\n。 cout 4 修改已有數(shù)據(jù)\n。 cout 5 查找已輸入的數(shù)據(jù)\n。 cout 6 智能查找\n。 cout 7 幫助\n。 cout 0 退出\n。 cout請輸入您的選擇:\n。 cinchoice。 (choice)。 } while(choice!=0)。 return 0。}
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1