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

正文內(nèi)容

c課程設計——學生管理系統(tǒng)-在線瀏覽

2025-02-17 14:56本頁面
  

【正文】 )。 char * All()。 friend void CStudentmanagementsystemDlg::OnBnClickedButton7()。 friend void CStudentmanagementsystemDlg::OnBnClickedButton8()。 int Grade(int SEC)。 char all[150]。 基本操作 afx_msg void OnBnClickedButton1()。//錄入學生成績信息 afx_msg void OnBnClickedButton6()。//清空 Listbox中現(xiàn)實的內(nèi)容 afx_msg void OnBnClickedButton9()。///讀取 B文件中全部信息并顯示到 Listbox afx_msg void OnEnSetfocusEdit15()。//當輸入姓名時,清除學號,宿舍號碼框中的內(nèi)容 afx_msg void OnEnSetfocusEdit17()。//根據(jù)輸入框中數(shù)據(jù)查找文件 A中數(shù)據(jù)并顯示到Listbox afx_msg void OnBnClickedButton4()。//根據(jù) Radio狀態(tài)對文件 B中數(shù)據(jù)進行排序并顯示到 Listbox afx_msg void OnBnClickedRadio1()。//按綜合成績降序 afx_msg void OnBnClickedRadio3()。//按實得學分降序 三 、 詳細 設計 數(shù)據(jù)錄入 數(shù)據(jù)輸出 開始輸入 打開文件 文件是否存在 以追加方式寫入文件 以覆蓋方式建立文件 將對象中數(shù)據(jù)寫入文件 關(guān)閉文件指針 將文本框內(nèi)內(nèi)容讀入對象 Y N 開始輸出 逐條讀出數(shù)據(jù) 逐條將數(shù)據(jù)添加到Listbox最后一項 關(guān)閉文件指針 打開文件 文件是否存在 以只讀方式打開文件 彈出警告框 清除 Listbox當前內(nèi)容 Y N 數(shù)據(jù)查找 數(shù)據(jù)排序 開始查找 逐條讀出數(shù)據(jù) 關(guān)閉文件指針 打開文件 文件是否存在 以只讀方式寫入文件 彈出警告框 匹配查找條件 逐條將數(shù)據(jù)添加到Listbox最后 跳過 輸入查找條件 文件是否結(jié)束 Y N Y N Y N 打開文件 逐條讀入動態(tài)數(shù)組 對數(shù)組進行冒泡排序 關(guān)閉文件指針 文件是否存在 以只讀方式打開文件 彈出警告框 Y N 逐條將數(shù)據(jù)添加到Listbox最后一項 四 、 源代碼 void CStudentmanagementsystemDlg::OnBnClickedButton1() { FILE * save。 // TODO: 在此添加控件通知處理程序代碼 //num[2],name[10],sex[4],dorm[3],tel[8]。 CString str。 CEdit* num。 CEdit* name。 CEdit* sex。 CEdit* dorm。 CEdit* tel。 strcpy(NEW,)。 strcpy(NEW,str)。 nameSetWindowTextA()。 dormSetWindowTextA()。 goto OutPutAOver。 goto OutPutAOver。 strcpy(NEW,)。 strcpy(NEW,str)。 nameSetWindowTextA()。 dormSetWindowTextA()。 goto OutPutAOver。 goto OutPutAOver。 strcpy(NEW,)。 strcpy(NEW,str)。 nameSetWindowTextA()。 dormSetWindowTextA()。 goto OutPutAOver。 goto OutPutAOver。 strcpy(NEW,)。 strcpy(NEW,str)。 nameSetWindowTextA()。 dormSetWindowTextA()。 goto OutPutAOver。 goto OutPutAOver。 strcpy(NEW,)。 strcpy(NEW,str)。 nameSetWindowTextA()。 dormSetWindowTextA()。 goto OutPutAOver。 goto OutPutAOver。 if((save=fopen(,a))==NULL) { if((save=fopen(,w+))==NULL) { MessageBox(文件創(chuàng)建失?。?,失?。?,MB_OK)。 } } fprintf(save,%s %10s %4s %s %s \n,)。 MessageBox(學生信息錄入成功! ,操作成功! ,MB_OK)。 } void CStudentmanagementsystemDlg::OnBnClickedButton2() { FILE * save。 //學號 課程編號 課程名稱 學分 平時成績 實驗成績 卷面成績 綜合成績 實得學分 //num[3],subject_num[4],subject_name[10],point[4],mark_usual[4],mark_experiment[4],mark_test[4],mark_all[4],point_real[4]。 CString str。 CEdit* num。 CEdit* subject_num。 CEdit* subject_name。 CEdit* point。 CEdit* mark_usual。 CEdit* mark_experiment。 CEdit* mark_test。 CEdit* mark_all。 CEdit* point_real。 strcpy(NEW,)。 strcpy(NEW,str)。 subject_numSetWindowTextA()。 pointSetWindowTextA()。 mark_experimentSetWindowTextA()。 goto OutPutBOver。 goto OutPutBOver。 strcpy(NEW,)。 strcpy(NEW,str)。 subject_numSetWindowTextA()。 pointSetWindowTextA()。 mark_experimentSetWindowTextA()。 goto OutPutBOver。 goto OutPutBOver。 strcpy(NEW,)。 strcpy(NEW,str)。 subject_numSetWindowTextA()。 pointSetWindowTextA()。 mark_experimentSetWindowTextA()。 goto OutPutBOver。 goto OutPutBOver。 strcpy(NEW,)。 strcpy(NEW,str)。 subject_numSetWindowTextA()。 pointSetWindowTextA()。 mark_experimentSetWindowTextA()。 goto OutPutBOver。 goto OutPutBOver。 strcpy(NEW,)。 strcpy(NEW,str)。 subject_numSetWindowTextA()。 pointSetWindowTextA()。 mark_experimentSetWindowTextA()。 goto OutPutBOver。 goto OutPutBOver。 strcpy(NEW,)。 strcpy(NEW,str)。 subject_numSetWindowTextA()。 pointSetWindowTextA()。 mark_experimentSetWindowTextA()。 goto OutPutBOver。 goto OutPutBOver。 strcpy(NEW,)。 strcpy(NEW,str)。 subject_numSetWindowTextA()。 pointSetWindowTextA()。 mark_experimentSetWindowTextA()。 goto OutPutBOver。 goto OutPutBOver。 // int Temp=0。 if((Temp/100)!=0) { [0]=(Temp/100+48)。 [2]=(Temp%10+48)。\039。 [1]=(Temp%10+48)。\039。 [1]=39。 } } else { Temp=(atoi()*+atoi()*+atoi(k_test)*)。 [1]=((Temp%100)/10+48)。 [3]=39。 } else if((Temp/10)!=0) { [0]=(Temp/10+48)。 [2]=39。 } else { [0]=(Temp+48)。\039。 if(Temp=90) strcpy(,)。 [1]=39。 } else if(Temp=70) { [0]=(([0]48)*+48)。\039。 [1]=39。 } else if(Temp60) { [0]=48。\039。 // if((save=fopen(,a))==NULL) { if((save=fopen(,w+))==NULL) { MessageBox(文件創(chuàng)建失敗! ,失??! ,MB_OK)。 } } fprintf(save,%s %s %11s %s %5s %5s %5s %5s %5s\n,m,_test,)。 MessageBox(學生成績錄入成功! ,操作成功! ,MB_OK)。 } void CStudentmanagementsystemDlg::OnBnClickedButton6() { CStudentmanagementsystemDlg::OnBnClickedButton5()。 Student InPutA。 if((save=fopen(,r))==NULL) //嘗試打開文件 { MessageBox(文件 A不存在 ~! ,A打開失敗! ,MB_OK)。 A=(A+Line)。 A=。 if(!feof(save)) { A=(A+())。 A=。 Shower=1。 FILE * save。 CString B。 } else { char Line[70]=學號課程編號名稱學分平時實驗卷面成績綜合成績實得學分 。 ((CListBox*)GetDlgItem(IDC_LIST1))AddString(B)。 while(!feof(save)) { fscanf(save,%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s,ubject_name,rk_all,)。 ((CListBox*)GetDlgItem(IDC_LIST1))AddString(B)。 } } fclose(save
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1