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

正文內容

c學生成績管理系統(tǒng)課設報告書帶源代碼精品-文庫吧資料

2024-09-12 23:36本頁面
  

【正文】 h\tstud[i].math\tstud[i].sport\tstud[i].polity\tstud[i].averageendl。 /*格式頭 */ cout 班級 \t 學號 \t 姓名 \t 電子\tc++\t 多媒體 \t英語 \t數(shù)學 \t體育 \t政治 \t平均分 endl。 /*查找判斷 */ if(i==n) { cout=====提示:對不起,無該學生的成績?? endl。amp。 cins。 coutendl==== 修改學生成績 ====endl。 int s。 } } void Modify(Stu stud[]) //修改學生成績 { system(cls)。 cout馬克思主義政治經(jīng)濟學 :stud[i].polityendl。 cout高等數(shù)學 :stud[i].mathendl。 cout多媒體技術 :stud[i].mediaendl。 cout電子技術 :stud[i].elecendl。 /*輸出該學生信息 */ cout學號 :stud[i].numendl。 /*輸入失敗信息 */ } else { coutendl。in) i++。 while((stud[i].nums)!=0amp。 cout請輸入需要查找學生的學號 :endl。 int i=0。 /*運行前清屏 */ int n=Read(stud)。 system(pause)。in。 cout班級 \t學號 \t 姓名 \t 平均分 endl。 /*運行前清屏 */ int n=Read(stud)。 } Write(stud,i)。 cinsign。 cout 平均分為: stud[i].averageendl。 }while(flag==0)。 if(stud[i].polity100 ||stud[i].polity1) cout對不起 ,請輸入 1100之間的數(shù) 字 !!\n。 cout 馬克思主義政治經(jīng)濟學成績 :。 }while(flag==0)。 if(stud[i].sport100 ||stud[i].sport1) cout對不起 ,請輸 入 1100之間的數(shù)字 !!\n。 cout 大學體育成績 :。 }while(flag==0)。 if(stud[i].math100 ||stud[i].math1) cout對不起 ,請輸入 1100之間的數(shù)字 !!\n。 cout 高等數(shù)學成績 :。 }while(flag==0)。 if(stud[i].english100 ||stud[i].english1) cout對不起 ,請輸入 1100之間的數(shù)字 !!\n。 cout 大學英語成績 :。 }while(flag==0)。 if(stud[i].media100 ||stud[i].media1) cout對不起 ,請輸入 1100之間的數(shù)字 !!\n。 cout 多媒體技術成績 :。 }while(flag==0)。 if(stud[i].c_program100 ||stud[i].c_program1) cout對不起 ,請輸入 1100之間的數(shù)字 !!\n。 cout C++程序設計成績 :。 }while(flag==0)。 if(stud[i].elec100 ||stud[i].elec1) cout對不起 ,請輸入 1100之間的數(shù)字 !!\n。 cout 電子技術成績 :。 cinstud[i].name。 goto loop。 if(stud[i].num==stud[ic].num) { cout 你輸入的學號已經(jīng)存在 !請重新輸入。 山東科技大學信息工程系課程設計 11 int c=0。 loop: cout 學號 :。) /*判斷 */ { cout 班級 :。sign!=39。amp。 while(sign!=39。 char sign。 /*運行前清屏 */ int i=0。 return count 。i++) { myFilestud[i].class_0stud[i].numstud[i].namestud[i].elecstud[i].c_programstud[i].mediastud[i].englishstud[i].mathstud[i].sportstud[i].politystud[i].average。 for(int i=0。 (0)。 abort()。 if(!myFile) 山東科技大學信息工程系課程設計 10 { cout can39。 } int Read(Stu stud[]) //從文 件中讀數(shù)據(jù) { fstream myFile。i++) { myFilestud[i].class_0 stud[i].num stud[i].name stud[i].elec stud[i].c_program stud[i].media stud[i].english stud[i].math stud[i].sport stud[i].polity stud[i].averageendl。 for(int i=0。 } int count=n。t open!endl。 (,ios::out|ios::binary)。 }stud[100]。 float average。 山東科技大學信息工程系課程設計 9 float sport。 float english。 float c_program。 char name[8]。 private: char class_0[20]。 friend void Write(Stu stud[],int n)。 friend void Sort(Stu stud[]) 。 friend void Delete(Stu stud[]) 。 friend void Lookup(Stu stud[]) 。 山東科技大學信息工程系課程設計 8 附錄 (源程序) include include include include include class Stu //構建學生類 { public: friend void Input(Stu stud[]) 。只有通過檢驗的真理,在自己的心里,才會認可它的真實性。 實踐是檢驗真理的唯一標準。我覺得 寫程序,應該先找到該程序中的核心地方,用多種方法來實現(xiàn)該核心,這才可能避免等到發(fā)現(xiàn)邏輯上或者編譯器不支持上的錯誤,才來想補救的措施,這樣花費時間在想補救措施是很不 值得的 。在課程設計之前,因為有了綜合實驗的經(jīng)驗與教訓,明白了寫代碼這一步是非常重要的,因為當你把代碼輸入電腦,并用編譯器將其運行,發(fā)現(xiàn)通過不了,再來檢查找出問題,這是一件非常辛苦的事情,也很浪費時間。這種困惑,有許多已經(jīng)通過實際操作解決了,并能夠深刻認識,但也有很多沒有明白。對這些知識也有了更深的理解和很好的掌握。 課程設計經(jīng)驗和體會 一個星期的課程設計,雖然有些疲勞和困倦,但帶給我很多的收獲。通過測試發(fā)現(xiàn)當用戶正確輸入時系統(tǒng)能夠正確顯示用戶的輸入,當用戶輸入錯誤時,系統(tǒng)并不會出現(xiàn)致命錯誤但其將顯 示非用戶期望的數(shù)據(jù)。 測試數(shù)據(jù) 經(jīng)過多次測試程序運行穩(wěn)定,無致命錯誤。用戶在操作過程中可隨時對當前文件進行保存到文件操作,以防止修改的數(shù)據(jù)丟失。本系統(tǒng)同時只能對一個數(shù)據(jù)文件進行相關操作,不能同山東科技大學信息工程系課程設計 6 時打開多個數(shù)據(jù)文件,其類似于單用戶操作系統(tǒng)。 使用說
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1