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

正文內(nèi)容

c語言教師工資管理系統(tǒng)實(shí)驗(yàn)報(bào)告(存儲(chǔ)版)

  

【正文】 =pscore1+pscore2+pscore3+pscore5。 break。 scanf(%f,amp。 pscore11=pscore6+pscore7+pscore8 +pscore9+pscore10。 break。 scanf(%f,amp。 pscore11=pscore6+pscore7+pscore8+pscore9 +pscore10。 puts(從哪個(gè)文件中將選課情況導(dǎo)入 :)。 if(fread(p,sizeof(stud),1,fp)==1) {pnext=qnext。 puts(將選課情況導(dǎo)出到哪個(gè)文件中 :)。} p=pnext。} while(p!=NULL) {if(fwrite(p,sizeof(stud),1,fp)!=1) {printf(File write error!\n)。 char fn[12]。 qnext=NULL。 char fn[12]。 scanf(%f,amp。 break。 pscore11=pscore6+pscore7+pscore8+pscore9+pscore10。 scanf(%f,amp。 break。 pscore4=pscore1+pscore2+pscore3+pscore5。 scanf(%f,amp。 break。 case 2:printf(請(qǐng)重新輸入教師姓名 :)。 printf( \n)。 printf( \n)。 }while(!p)。 //工作指針 p 移動(dòng) } getchar()。 printf(公積金 :)。 scanf(%f,amp。pscore3)。 printf(基本 工資 :)。 free(q)。 //指針 q 指向 p 的直接后繼 if(q==NULL) {printf(未找到指定結(jié)點(diǎn),沒有執(zhí)行刪除 !\n)。 //輸入序號(hào) while(pnext!=NULLamp。amp。 //輸入教師號(hào) while(pnext!=NULLamp。 struct st*p,*q。 gets(xh)。getchar()。 } //************************************************************ stud*search(stud*head,int*i) {//在鏈表中按姓 名或按教師號(hào)進(jìn)行查找 int xz。 qnext=pnext。(strcmp(xh,pnextnum)=0)) p=pnext。gets(xm)。 //指向首接點(diǎn) printf( 教師號(hào) 姓名 性別 單位名稱 家庭住址 聯(lián)系電話\n)。 printf( )。 12 printf( \n)。)break。getchar()。 headnext=NULL。839。 change(head)。 case39。 printf( 應(yīng)發(fā)工資 :% 合計(jì)扣款 :% 實(shí)發(fā)工資 :%\n,pscore4,pscore11,pscore)。break。 browse(head)。 stud*head,*p。 //查詢 void save(stud*)。 三、調(diào)試與測(cè)試 : 開始 輸入 xz 繼續(xù)輸入? 輸入教師號(hào) 0 1 輸入教師名 輸出教師信息 6 對(duì) 自己設(shè)計(jì)的程序進(jìn)行調(diào)試: 測(cè)試數(shù)據(jù) : 教師名:湯忠道 教師號(hào) : 109074370 性別:男 工作單位:安工大 家庭住址:安 工大 聯(lián)系電話: 15655544332 基本工資 : 4000 津貼: 200 生活補(bǔ)貼: 200 電話費(fèi) : 200 水電費(fèi): 200 房租: 700 所得稅: 10 衛(wèi)生費(fèi): 20 公積金 :20 設(shè)置節(jié)點(diǎn)對(duì)函數(shù)進(jìn)行調(diào)試 Menu 7 Browse Insert 8 Search 9 四 、 用戶手冊(cè) : 使用說明 : 運(yùn)行程序,根據(jù)提示進(jìn)行選擇 和輸入: 1. 瀏覽教師工資信息 2. 插入教師信息 3. 查詢教師信息 4. 刪除教師記錄 5. 教師工資信息錄入 6. 修改教師信息 7. 從文件中將工資情況導(dǎo)入到鏈表 8. 將鏈表中工資情況保存到文件 9. 系統(tǒng)初始化 0. 退出教師工資管理系統(tǒng) 在退出時(shí)需保存數(shù)據(jù) : 8. 將鏈表中工資情況保存到文件 ( 可定義任意文件名進(jìn)行儲(chǔ)存 ) 文件中的信息在下次打開時(shí)需手動(dòng)調(diào)用 : 7. 從文件中將工資情況導(dǎo)入到鏈表 五 、 附錄 : 10 源程序: include include include typedef struct st {char num[10],name[9],sex[10],bclass[20],address[20],phono[11]。 四、 browse():瀏覽函數(shù),將鏈表中各結(jié)點(diǎn)的數(shù)據(jù)一次輸出。 ( 5) search():查找函數(shù),在鏈表中按姓名或按教師號(hào)進(jìn)行查找。 A、教師信息處理 (1) 輸入教師信息 (2) 插入(修改)教師信息:
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1