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

正文內(nèi)容

學生考勤管理系統(tǒng)課程設(shè)計報告(存儲版)

2025-09-02 11:36上一頁面

下一頁面
  

【正文】 } string date。 } void order_s() //姓名的排序 { int i。in。 c[k++]=1。 string stmp=s[j]。 string *s=new string[n]。 for(j=0。ik。 s[j1]=stmp。endif records_class第三部分: (功能子函數(shù)的實現(xiàn)部分)include include stringinclude iostreaminclude fstreaminclude include iomanipusing namespace std。 return。 if(tmp[0]==39。 (tmp,30,39。 (tmp,3)。year0amp。day0amp。 cout錄入一條學生缺課記錄:endl。 } cout請輸入缺課名稱: flush。 } for(int i=0。rr[i].sname==t4amp。n39。)goto m1。 else return。break。irn。 char tmp[30]。 } if(!flag) { cout查無此學生!endl。e0: cinflag。 }e1: cout請輸入缺課日期: (例如080612) flush。 if(flag!=6)goto e6。 cout保存修改? (y/n) flush。 } cout請輸入要刪除的記錄的序號: (輸入1刪除全部) flush。 else { for(int i=flag。y39。 cinstr。 }void search_s(records *r)//一定范圍查找學生信息{ int i。 ((7,6))。rr[i].type==4) r1r[r1n++].set(rr[i])。 break。為了使得程序的編寫更加有條理,閱讀更加明了,在寫每個模塊的時候都將自己的思路寫在每個函數(shù)的第一行,告訴自己(讀者)我這個函數(shù)將要做的是什么事情。)。這樣剛開始幾乎每次都是在對所編程序一無所知的基礎(chǔ)上進行,由簡單到復雜,一個問題一個問題地去解決。其實,只要踏踏實實一步一步來,VC也就是很簡單點事。指導教師評語:成績: 簽名:27。如果硬上,意志堅強的話也許能挺過來,但也是會缺乏后勁,不得不回過頭來補習基礎(chǔ)知識。 我學習編程一直有自己的一點想法:用任務來牽引,在實踐中學習。添加幾個相同的字符:(5, 39。九、結(jié)束語 本次課程設(shè)計主要使用到了C++中的一些比較基本的算法,總體上感覺比之前做過的實驗綜合性比較強。 case 2: cout\n在ld到hd期間課程曠課情況如下:endl。rr[i].(hd)=0amp。 cintmp。 flag=1。 string str。 cinyn。 return。}void del(records *r)//刪除學生信息{ if(rn==0) { cout記錄為空!endl。e6: rr[i].set(t1,t2,t3,t4,t5)。e3: cout請輸入缺課名稱: flush。 case 6:goto e1。 t5=rr[i].type。i++) if(rr[i].sname==t1) { flag=7。 } cout請輸入要修改缺課記錄的學生姓名: flush。 } cout\n序號\t缺課日期 節(jié)次\t課程名稱\t學生姓名\t缺課類型endl。break。y39。 if(yn==39。)break。rr[i].ame==t3amp。 if(t51||t54) { cout類型輸入有誤! 請重新錄入: endl。 if(t21||t210) { cout節(jié)次錄入有誤! 請重新錄入: endl。 int t2,t5,flag=0。month13amp。 if(!(()==6amp。)。)。39。}void rd(records *r)//實現(xiàn)對文件的輸入{ ifstream inf()。 int n。 string stmp=s[j]。 c[k++]=1。in。i++) couts[i]\t\tc[i]endl。 c[j]=c[j1]。 break。 int k=1,flag。endif record_classifndef records_classdefine records_classclass records//實現(xiàn)學生曠課情況排序的類{public: records() //構(gòu)造函數(shù) { r=new record[100]。 (tmp)。 ()。//assign可以避免不必要的內(nèi)存分配,可以提高效率 ()。}第二部分: (類的設(shè)計部分)include iostreaminclude stringusing namespace std。 if(yn==39。 case 5:del(r)。 switch(chose) { case 1:pri(r)。 cout *** 7. 退出系統(tǒng) ***endl。 cout *** ★歡迎訪問學生考勤管理系統(tǒng)★ ***endl。 case 4:goto e4。 t3=rr[i].ame。 for(i=0。五、類設(shè)計系統(tǒng)中主要涉及了兩個類: 一個是class record //關(guān)于學生考勤基本信息類 另一個是class records//實現(xiàn)學生曠課情況排序的類六、主要算法設(shè)計 關(guān)鍵算法:曠課情況的排序:class records//實現(xiàn)學生曠課情況排序的類{public: records() //構(gòu)造函數(shù) { r=new record[100]。i++) couts[i]\tc[i]endl。 c[j]=c[j1]。 break。 int k=1,flag。
點擊復制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1