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

正文內(nèi)容

c課程設計---電話薄管理(參考版)

2025-01-21 12:53本頁面
  

【正文】 return 0。 (choice)。 cout請輸入您的選擇:\n。 cout 7 幫助\n。 cout 5 查找已輸入的數(shù)據(jù)\n。 cout 3 刪除已有數(shù)據(jù)\n。 cout 1 添加電話薄記錄\n。// 主菜單顯示 system(date /t)。 // 從文件讀入數(shù)據(jù) current_ptr=()。 cout 指導老師:蔡驊 \n。//定義一個鏈表類對象 cout 歡迎使用電話簿管理系統(tǒng)\n。 CNode node。 break。 } break。 if(pHead != NULL) // 如果鏈表頭不為空 { write_list_to_file()。 system(date /t)。 break。 } break。 CTelRecord ctelrecord(LName,)。 system(date /t)。)。 (20,39。 ()。 char LName[20]。 break。)。||ch==39。 }while(ch==39。 cout要繼續(xù)嗎?(y/n)\n。 system(date /t)。 current_ptrShowNode()。 if(current_ptr==NULL) cout對不起沒有找到您要找的記錄\n。amp。 current_ptr=pHead。)。 (20,39。 cout請輸入要查找的名字\n。\n39。 (lastname,20)。 CTelRecord ctelrecord。 } break。)。||ch==39。 } }while(ch==39。 cout還要繼續(xù)修改嗎?(y/n)\n。 system(date /t)。 break。 break。 } cout已完成修改\n。 pnodeInputData(ctelrecord)。 ()。 (d:\\,ios::in|ios::nocreate)。 ()。 (c:\\,ios::in|ios::nocreate)。)。 (20,39。 cout 請輸入要添加的電話號碼:\n 。\n39。 (last_name,20)。)。 (20,39。 cout 請輸入要添加的名字:\n 。\n39。 system(cls)。 char phone_num[20]。 char first_name[20]。 CNode *pnode。 break。 ()。 (c:\\,ios::in|ios::nocreate)。 ()。 (c:\\,ios::in|ios::nocreate)。 current_ptrGetData()Modify(number)。 ()。 switch(ch1) { case 1: char number[20]。 cout修改姓名\n。 cout請選擇您要修改的項目:\n。 else { cout您要找的記錄:\n。current_ptrGetData()Compare(ctelrecord)!=0) {current_ptr=current_ptrpNext。 while(current_ptr!=NULLamp。 (lastname,firstname, ,)。 cout請輸入要修改的名字\n。\n39。 (lastname,20)。 CTelRecord ctelrecord。 do { char lastname[20],firstname[20],dd[20],tt[20]。 case 4: char ch。 case 3: delete_record()。 ShowList()。 system(date /t)。 } break。Y39。y39。 } else coutyou can not add a node\n。 (ch)。 system(time /t)。//按順序插入節(jié)點 //else // AddNode(pnode)。 pnodeInputData(ctelrecord)。 ()。 (c:\\,ios::in|ios::nocreate)。 ()。 fstream trf(c:\\,ios::in|ios::nocreate)。)。 (20,39。 cout 請輸入要添加的電話號碼:\n 。\n39。 (last_name,20)。)。 (20,39。() 函數(shù)執(zhí)行終止; cout 請輸入要添加的名字:\n 。 //如果計數(shù)值達到20或者被拋棄的字符是39。\n39。 if(pnode!=NULL) { CTelRecord *ctelrecord=new CTelRecord。 char dd[20]。 char last_name[20]。//定義一個節(jié)點類型變量指針 pnode=new CNode。 system(cls)。 return current_ptr_end。 while(current_ptr!= NULL) { current_ptr = current_ptrpNext。 break。 break。 system(cls)。 cout 有的話關掉吧\n。case 3: cout 看一下Lock指示燈\n。 goto help。 pause=getch()。case 2: cout 刪除文件數(shù)據(jù)\n。 goto help。 pause=getch()。 cout 當然什么也沒有顯示\n。cin choice2。cout 3: 智能查找不能用啊\n。cout 1: 為什么選了顯示號碼卻什么都沒有顯示出來?\n。system(cls)。 return current_ptr。 else cout對不起,沒有您要找的記錄\n。 } if(i) cout智能查找完成,結果如上顯示。 i++。 while(current_ptr!=NULL) { if(current_ptrGetData()LookChar(search_string)!=0) { if (i==0) cout姓名:電話號碼:錄入時間\n。 current_ptr = pHead。 char search_string[20]。ctelrecord){ int i(0)。 } else { cout 打開文件失敗了……\n。 } while(current_ptr != NULL)。\n39。\n39。\n39。\n39。\n39。amp。 if (!!outfile) { current_ptr = pHead。 }} // 刪除確認函數(shù)void CList::write_list_to_file()
點擊復制文檔內(nèi)容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1