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

正文內(nèi)容

c實(shí)驗(yàn)檔案管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)設(shè)計(jì)報(bào)告(參考版)

2024-09-05 17:11本頁(yè)面
  

【正文】 ifndef Menu_h define Menu_h int choiceMenu(void)。 }。 char fUnit[100]。 ifndef Info_h define Info_h struct Info { int fNo。 void loadInfo(Info *pInfoAll,int n,int *pNum)。 void sortInfo(Info *pInfoAll,int n,int num)。 void displayInfo(Info *pInfoAll,int n,int num)。 return choice。 scanf(%d,amp。 cout 請(qǐng)選擇功能號(hào) (1,2,3,4,5,6,7): *endl。 cout 5 基本信息保存 6 基本信息調(diào)入 *endl。 cout 1 基本信息錄入 2 基本信息顯示 *endl。 cout ********** *****************************************endl。 fclose(pF)。pInfoAll[i].fUaDeNum)==4) { i++。 while(fscanf(pF,%d %s %s %d \n,amp。 } void loadInfo(Info *pInfoAll,int n,int *pNum) { int i=0。i++) { fprintf(pF,% d %s %s %d \n,pInfoAll[i].fNo,pInfoAll[i].fName,pInfoAll[i].fUnit,pInfoAll[i].fUaDeNum)。 for(int i=0。 } } void saveInfo(Info *pInfoAll,int n,int num) { FILE *pF。 case 5: exit(0)。pInfoAll[j]=t。 t=pInfoAll[i]。j=num1。i=num2。 } } } } break。pInfoAll[i]=pInfoAll[j]。j++) { if (strcmp(pInfoAll[i].fUnit,pInfoAll[j].fUnit)0) { Info t。i++) { for (int j=i+1。 case 3: { for (int i=0。pInfoAll[j]=t。 t=pInfoAll[i]。j=num1。i=num2。 } } } } break。pInfoAll[i]=pInfoAll[j]。j++) { if (pInfoAll[i].fNopInfoAll[j].fNo) { Info t。i++) { for (int j=i+1。 switch(choice) { case 1: { for (int i=0。 cout請(qǐng)輸入選項(xiàng) :endl。 cout** 請(qǐng)選擇操作 (1,2,3,4,5): **endl。 cout** 3 按單位排序 4 按單位 +部門編號(hào)排序 **endl。 cout*************************************************************endl。 default:cout提示出錯(cuò) endl。 } } break。 break。inum。 cinunit[1000]。 case 3: { char unit[1000]。 } else cout您要找的人不存在 endl。i++) { if(*pInfoAll[i].fName==(name[1000])) { cout\t 工 號(hào) 是 pInfoAll[i].fNo\t 姓 名 是pInfoAll[i].fName\t單位是 pInfoAll[i].fUnit\t 單位和部門編號(hào)是pInfoAll[i].fUaDeNum。 for(i=0。 cout請(qǐng)輸入姓名 :。 } } break。 break。inum。 cinno。 switch(choice) { case 1: { int no。 cout請(qǐng)輸入選項(xiàng) :endl。 cout** 請(qǐng)選擇操作 (1,2,3,4,5): **endl。 cout** 3 按單位查詢 4 按單位 +部門編號(hào)查詢 **endl。 cout************************************************************endl。 } void searchInfo(Info *pInfoAll,int n,int num) { int i。 } cout\t****************************************endl。i=num1。 cout\t序號(hào) \t工號(hào) \t\t姓名 \t\t單位 \t部門編號(hào) \tendl。 } } } void displayInfo(Info *pInfoAll,int n,int num) { cout\t您要查詢的資料顯示結(jié)果如下 :endl。 cout要輸入數(shù)據(jù)嗎 ?(y/n)。 cinpInfoAll[*pNum].fNopInfoAll[*pNum].fNamepInfoAll[*pNum].fUnitpInfoAll[*pNum].fDeNum。y39。 cinchoice。 } else { cout要輸入數(shù)據(jù)嗎 (y/n)。 } } return 0。 case 7: exit(0)。 coutendl。 case 6: loadInfo(infoAll,100,amp。 coutendl。 break。 case 4: sortInfo(infoAll,100,num)。 coutendl。 break。 case 2: displayInfo(infoAll,100,num)。 coutendl。 while(1) { switch(choiceMenu()) { case 1: inputInfo(infoAll,100,amp。 include include include include define N 100 include include int main() { Info infoAll[100]。程序的調(diào)試是一個(gè)技巧性很強(qiáng)的工作,對(duì)于初學(xué)者來(lái)說(shuō),盡快掌握程序 調(diào)試方法是非常重要的。有時(shí)程序本身不存在語(yǔ)法錯(cuò)誤,也能夠順利運(yùn)行,但是運(yùn)行結(jié)果顯然是錯(cuò)誤的。 有時(shí) 你認(rèn)為萬(wàn)無(wú)一失的程序,實(shí)際上機(jī)運(yùn)行時(shí)可能不斷出現(xiàn)麻煩。上機(jī)實(shí)驗(yàn)是學(xué)習(xí)程序設(shè)計(jì)語(yǔ)言必 不可少的實(shí)習(xí)環(huán)節(jié),特別是 c 語(yǔ)言靈活、簡(jiǎn)潔,更需要通過(guò)編程的實(shí)習(xí)來(lái)真正掌握它。由于時(shí)間的關(guān)系,我們的這次實(shí)習(xí)課程老師并沒(méi)有給我們?cè)敿?xì)的介紹,只是給我們簡(jiǎn)單的介紹了幾個(gè)比較重要的實(shí)際操作。這些都要 感謝老師的教導(dǎo)。其實(shí)只要理清了思路,把基礎(chǔ)知識(shí)掌握了,然后有條不紊的分析,一步一步理解, c 語(yǔ)言還是很有意思的課程。還有自己的基礎(chǔ)知識(shí)不扎實(shí),遇到的問(wèn)題,沒(méi)有很好的邏輯思維,親自編寫一個(gè)陌生的程序的時(shí) 候會(huì)有種無(wú)法下手的感覺(jué),找不到突破口。 c語(yǔ)言是一個(gè)有序的學(xué)習(xí) ,學(xué)了最基本的替換,然后擴(kuò)展到循環(huán),嵌套,條理很清楚,不是一個(gè)零散的知識(shí),實(shí)際上所有的課程都如此,不過(guò)通過(guò)實(shí)訓(xùn)我也知道了自己的不足,存在的很多問(wèn)題。這次實(shí)訓(xùn)有很大的收獲,讓我對(duì) c語(yǔ)言有了更深的認(rèn)識(shí),平時(shí)在課堂上學(xué)到的東西可以自己動(dòng)手編寫,將其轉(zhuǎn)化成一些實(shí)用的技能。 陳青青 心得 : 通過(guò) c語(yǔ)言實(shí)訓(xùn),讓我加深了對(duì) c 語(yǔ)言的
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1