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

正文內(nèi)容

學生考勤管理系統(tǒng)課程設計報告-預覽頁

2025-08-27 11:36 上一頁面

下一頁面
 

【正文】 s[k]=r[i].ame。i++) for( j=i。 c[j1]=tmp。 } } cout課程名\t曠課人次endl。 } record *r??梢赃@么說,選擇好合理的數(shù)據(jù)結(jié)構(gòu)查找與排序就可以一勞永逸了。 n=0。 int t2,t5,flag=0。irn。 return。 t4=rr[i].sname。 switch(flag) { case 1:goto e1。 case 5:goto e5。七、主要代碼第一部分:學生考勤管理系統(tǒng)include include include include stringinclude iostreaminclude iomanipinclude fstreamusing namespace std。 cout *************************************************************endl。 cout *** ***endl。 cout *************************************************************endl。 if(chose==7)exit(0)。break。break。break。 } cout是否返回主菜單? (y/n)——你的選擇: flush。y39。)exit(0)。ifndef record_classdefine record_classclass record //關(guān)于學生考勤基本信息類{public: void set(string d,int o,string c,string s,int type) { (d)。 thistype=type。 ()。 char tmp[3]。 (tmp)。 (sname)。 return s。 int o。 n=0。 int *c=new int [n]。 for( i=1。jk。 } if(!flag) { s[k]=r[i].sname。i++) for( j=i。 c[j1]=tmp。 } } cout曠課學生姓名\t曠課次數(shù)endl。 } void order_c() //課程排序 { int i,j。 c[0]=1。i++) { flag=0。 flag=1。 } } for(i=1。j) { if(c[j]c[j1]) { int tmp=c[j]。 s[j]=s[j1]。ik。}。irn。 if(()) { cout記錄為空!endl。 int t2,t5。)。 (tmp)。 t2=atoi(tmp)。 (tmp)。 (tmp)。 }}bool timechk(string t1){ int year=atoi((0,2).c_str())。amp。amp。amp。 return false。 char yn。 if(!(timechk(t1)))goto m1。 goto m2。 cint4。 goto m3。amp。amp。n1: cinyn。 else if(yn==39。 } rr[rn++].set(t1,t2,t3,t4,t5)。y39。) { cout保存修改? (y/n) flush。)wt(r)。 switch() { case 1:cout遲到endl。 case 3:cout請假endl。 default:。 for(int i=0。 }}void edt(records *r)//修改學生信息{ int i。 string t1,t3,t4。 (tmp)。 break。 t2=rr[i].o。 cout請輸入要修改的項目:\n( ) flush。 case 3:goto e3。 default:goto e0。e2: cout請輸入缺第幾節(jié)課: flush。 cint3。 if(flag!=6)goto e6。 char yn。y39。 return。 if(flagrn1amp。 } else if(flag==1)rn=0。 rn。 if(yn==39。}void search(records *r)//查找學生信息{ if(rn==0) { cout記錄為空!endl。 int j=0,flag=0。i++) if(rr[i].sname==str) { if(!flag)cout\n序號\t缺課日期 節(jié)次\t課程名稱\t學生姓名\t缺課類型endl。 } if(!flag)cout沒有查到該學生的缺課記錄!endl。 } records *r1=new records()。 ((0,6))。irn。amp。 switch(i) { case 1: cout\n在ld到hd期間學生曠課情況如下:endl。 r1order_c()。當在主菜單是選擇序號2時就會出現(xiàn)如下界面:按照提示進行輸入,如果要繼續(xù)輸入則選擇y,否則選n推出并會提示是否保存錄入的內(nèi)容。在這里我主要總結(jié)一下我設計這個學生考勤管理系統(tǒng)的心得和在編譯程序的過程中遇到的問題以及解決的辦法。當然錯誤自然是非常多的,比如bool型的,在網(wǎng)上看過了,感覺用的人比較多,也覺得挺好用的,在本程序中也使用了bool型的,如bool timechk();知道bool為布爾型,只有一個字節(jié),取值false和true,是0和1的區(qū)別,不過在使用的時候老是出錯。.39。內(nèi)部數(shù)據(jù)類型的數(shù)據(jù)成員而言,兩種初始化方式的效率幾乎沒有區(qū)別,但后者的程序版式似乎更清晰些。也就是說,我沒有按照某種固定的順序去學習編程,而是經(jīng)常有一些小的程序想法或是想編一個滿足特定功能的程序?,F(xiàn)在編寫一些簡單的桌面應用程序也基本上沒有問題了。意志不堅強的話,很有可能就此放棄了,并留下一個VC難得不得了的印象。而且,你現(xiàn)在學到的東西將來一定會過時,所以不如把精力放在算法的研究上,畢竟這些東西永遠都不會過時
點擊復制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1