91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.27MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2024-02-03
  • 語言: C/C++
  • 標(biāo)簽: MFC??C++??

資源簡介

自己做的在線考試系統(tǒng),基于MFC,有文檔,有源碼,有可執(zhí)行文件。

資源截圖

代碼片段和文件信息

//?DIALOG1.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“WWX.h“
#include?“DIALOG1.h“
#include?“fstream.h“
CString?rightanswer[100];
CString?useranswer[100];
static?int?a=0;
static?int?i=0;
static?int?total=0;

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?DIALOG1?dialog


DIALOG1::DIALOG1(CWnd*?pParent?/*=NULL*/)
:?CDialog(DIALOG1::IDD?pParent)
{
//{{AFX_DATA_INIT(DIALOG1)
m_NewAnswerA?=?_T(““);
m_m_NewAnswerB?=?_T(““);
m_m_NewAnswerC?=?_T(““);
m_m_NewAnswerD?=?_T(““);
m_NewRightAnswer?=?_T(““);
m_NewTimu?=?_T(““);
m_Djiti?=?_T(““);
m_Meitidaan?=?_T(““);
m_Timu?=?_T(““);
m_Chengji?=?0;
m_RightAnswerShow?=?_T(““);
//}}AFX_DATA_INIT
}


void?DIALOG1::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(DIALOG1)
DDX_Text(pDX?IDC_NewAnswerA?m_NewAnswerA);
DDX_Text(pDX?IDC_NewAnswerB?m_m_NewAnswerB);
DDX_Text(pDX?IDC_NewAnswerC?m_m_NewAnswerC);
DDX_Text(pDX?IDC_NewAnswerD?m_m_NewAnswerD);
DDX_Text(pDX?IDC_NewRightAnswer?m_NewRightAnswer);
DDX_Text(pDX?IDC_NewTimu?m_NewTimu);
DDX_Text(pDX?IDC_Djiti?m_Djiti);
DDX_Text(pDX?IDC_Meitidaan?m_Meitidaan);
DDX_Text(pDX?IDC_Timu?m_Timu);
DDX_Text(pDX?IDC_Chengji?m_Chengji);
DDX_Text(pDX?IDC_RightAnswerShow?m_RightAnswerShow);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(DIALOG1?CDialog)
//{{AFX_MSG_MAP(DIALOG1)
ON_BN_CLICKED(IDC_BUTTON2?Onbaocun)
ON_BN_CLICKED(IDOK?onstart)
ON_BN_CLICKED(IDnext?Onnext)
ON_BN_CLICKED(IDOK3?Onjiaojuan)
ON_BN_CLICKED(IDRightAnswerShow?OnRightAnswerShow)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?DIALOG1?message?handlers

void?DIALOG1::Onbaocun()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
ofstream?add(“newtimu.txt“ios::ate);
CString?all;
all=m_NewTimu+“\r\n“+m_NewAnswerA+“\r\n“+m_m_NewAnswerB+“\r\n“+m_m_NewAnswerC+“\r\n“+m_m_NewAnswerD+“\r\n“;
add< add.close();
/*ofstream?zz(“rightanswer.txt“ios::ate);
zz< MessageBox(“添加成功!“);
static?int?m=0;
rightanswer[m]=m_NewRightAnswer;

ofstream?dd(“rightanswer.txt“ios::ate);
//CString?bb;
//for(int?z=0;z //bb=bb+m_NewRightAnswer+“\r\n“;
dd< m++;
dd.close();
m_NewAnswerA=““;
m_m_NewAnswerB=““;
m_m_NewAnswerC=““;
m_m_NewAnswerD=““;
m_NewRightAnswer=““;
m_NewTimu=““;
UpdateData(FALSE);
}

void?DIALOG1::onstart()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData(TRUE);
ifstream?showall(“newtimu.txt“);
????
CString?dd;
while(!showall.eof())
{

char?timu[20];
char?daanA[20];
char?daanB[20];
char?daanC[20];
char?daanD[20];

showall>>timu>>daanA>>daanB>>daanC>>daanD;

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-02-23?13:20??在線考試系統(tǒng)\
?????目錄???????????0??2012-02-23?14:46??在線考試系統(tǒng)\在線考試系統(tǒng)\
?????目錄???????????0??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\
?????目錄???????????0??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\
?????文件???????43854??2012-02-23?19:58??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\DIALOG1.obj
?????文件???????????0??2012-02-23?17:56??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\newtimu.txt
?????文件??????105601??2012-02-23?15:00??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\StdAfx.obj
?????文件??????230400??2012-02-23?19:58??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\vc60.idb
?????文件??????380928??2012-02-23?19:58??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\vc60.pdb
?????文件??????118855??2012-02-23?19:58??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\WWX.exe
?????文件??????353668??2012-02-23?19:58??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\WWX.ilk
?????文件???????13653??2012-02-23?15:00??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\WWX.obj
?????文件?????5490024??2012-02-23?15:00??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\WWX.pch
?????文件??????402432??2012-02-23?19:58??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\WWX.pdb
?????文件????????3376??2012-02-23?19:44??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\WWX.res
?????文件???????28722??2012-02-23?16:13??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Debug\WWXDlg.obj
?????文件????????4357??2012-02-23?19:58??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\DIALOG1.cpp
?????文件????????1510??2012-02-23?16:10??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\DIALOG1.h
?????文件????????3525??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\ReadMe.txt
?????目錄???????????0??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\res\
?????文件????????1407??2012-02-23?16:13??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\Resource.h
?????文件????????1078??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\res\WWX.ico
?????文件?????????395??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\res\WWX.rc2
?????文件?????????205??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\StdAfx.cpp
?????文件????????1054??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\StdAfx.h
?????文件???????36884??2012-02-23?19:44??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\WWX.APS
?????文件????????2386??2012-02-23?19:59??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\WWX.clw
?????文件????????2021??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\WWX.cpp
?????文件????????4231??2012-02-23?16:29??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\WWX.dsp
?????文件?????????514??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\WWX.dsw
?????文件????????1291??2012-02-23?14:47??在線考試系統(tǒng)\在線考試系統(tǒng)\WWX\WWX.h
............此處省略6個(gè)文件信息

評論

共有 條評論