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

正文內(nèi)容

試題庫(kù)系統(tǒng)設(shè)計(jì)畢業(yè)論文(編輯修改稿)

2025-07-17 02:45 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 (true)。 (select * from t_problem where tno=39。%s39。,m_strTNO)。 if(!(AFX_DB_USE_DEFAULT_TYPE,strSQL)) { MessageBox(打開數(shù)據(jù)庫(kù)失敗!,數(shù)據(jù)庫(kù)錯(cuò)誤,MB_OK)。 return 。 } ()。 =m_strTNO。 =m_strTextName。 =m_strExamName。 =m_strExamUnit。 =m_intDiff。 =m_intScore。 =0。 ////////////////////////////////////////將WORD文件加入/////////////// /////////////////加入問題/////////////////////////////// CFile fileword。 CFileStatus fileStatus。 CString fileLocate。 fileLocate=c:\\。 (fileLocate,CFile::modeRead)。 (fileStatus)。 =。 HGLOBAL hGlobal = GlobalAlloc(GPTR,)。 =GlobalLock(hGlobal)。 (,)。 (amp。)。 (amp。,false)。 GlobalUnlock(hGlobal)。 ()。 ()。 ()。 MessageBox(保存成功!)。}(2) 答案的保存過程void Problem::OnButtonAnswersave() { if(answopen) { m_pAnswerMyWordSaveAsCtwo()。 m_pAnswerMyWordClose()。 CopyFile(c:\\,c:\\,false)。 answopen=false。 } UpdateData(TRUE)。 //////////////////////////////關(guān)閉問題和答案瀏覽//////////// if(answopen) { answopen=false。 m_pAnswerMyWordClose()。 } ///////////////////////////////避免使用內(nèi)存使用沖突//////////////////////// CString strSQL。 UpdateData(true)。 (select * from t_problem where tno=39。%s39。,m_strTNO)。 if(!(AFX_DB_USE_DEFAULT_TYPE,strSQL)) { MessageBox(打開數(shù)據(jù)庫(kù)失敗!,數(shù)據(jù)庫(kù)錯(cuò)誤,MB_OK)。 return 。 } ()。 =m_strTNO。 =m_strTextName。 =m_strExamName。 =m_strExamUnit。 =m_intDiff。 =m_intScore。 =0。 ////////////////////////////////////////將WORD文件加入/////////////// CFile fileword。 CFileStatus fileStatus。 CString fileLocate。 /////////////////加入答案/////////////////////////////// fileLocate=c:\\。 (fileLocate,CFile::modeRead)。 (fileStatus)。 =。 HGLOBAL hnGlobal = GlobalAlloc(GPTR,)。 =GlobalLock(hnGlobal)。 (,)。 (amp。)。 (amp。,false)。 GlobalUnlock(hnGlobal)。 ()。 //////////////////////////////////////// ()。 ()。 MessageBox(保存成功!)。}void AutoPanel::OnAutoStart() { AfxEnableControlContainer()。 //允許應(yīng)用程序作為控件容器來使用 CString str1,str2。 UpdateData(TRUE)。 CString strTNO,strSQL。 HANDLE hFind。 CString strFileName。 CMyWordOffice wd。 CString tempno[200],minno[200]。 int tempscore[200],tempdiff[200],tempcount[200],tempvalue。 int minscore,mindiff,mincount,minvalue=10000。 int tempscount=0。 int recordcount=0。 BOOL temphave。//////////////////////////////////檢測(cè)編號(hào)是否存在///////////////////////// (select * from t_paper where pno=39。%s39。,m_strPaperNo)。 if(!(AFX_DB_USE_DEFAULT_TYPE,strSQL)) { MessageBox(打開數(shù)據(jù)庫(kù)失敗!,數(shù)據(jù)庫(kù)錯(cuò)誤,MB_OK)。 return 。 } if(()!=0) { ()。 MessageBox(該編號(hào)已經(jīng)存在,請(qǐng)重新輸入編號(hào)!)。 return。 } ()。 (0,m_intRandCount)。//設(shè)置進(jìn)度條最大范圍////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////開始隨機(jī)抽取試題//////////////////////////////////////// for(int i=0。im_intRandCount。i++)///////////////////在隨機(jī)抽取次數(shù)內(nèi)抽取,F(xiàn)OR1//// { tempscount=0。 (i)。 for(int j=0。jtypecount。j++) { (select * from t_problem where tprobtype=39。%s39。 and ttextname=39。%s39。,etype[j],m_strTextName)。 if(!(AFX_DB_USE_DEFAULT_TYPE,strSQL)) { MessageBox(打開數(shù)據(jù)庫(kù)失敗!,數(shù)據(jù)庫(kù)錯(cuò)誤,MB_OK)。 return 。 } ()。 recordcount=0。 //統(tǒng)計(jì)記錄數(shù) while(!()) { recordcount++。 ()。 } if(recordcountetcount[j]) { ()。 MessageBox(題型:+etype[j]+數(shù)量不夠,無(wú)法進(jìn)行組卷!)。 return。 } ecount[j]=etcount[j]。 while(ecount[j]0) { ()。 (rand()%recordcount)。//隨機(jī)抽取 temphave=false。 for(int ii=0。iitempscount。ii++) { if(tempno[ii]==) { temphave=true。 break。 } } if(!temphave) { tempno[tempscount]=。 tempscore[tempscount]=。 tempdiff[tempscount]=。 tempcount[tempscount]=。 tempscount++。 ecount[j]。 } } ()。 } tempvalue=0。 for(int jj=0。jjtempscount。jj++) { tempvalue+=abs(tempscore[jj]totalscore)。 tempvalue+=abs(tempdiff[jj]totaldiff)。 tempvalue+=abs(tempcount[jj]totalcount)。 } if(tempvalue=minvalue) { minscore=0,mindiff=0,mincount=0。 for(int kk=0。kktempscount。kk++) { min
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1