資源簡介
VC++網絡考試系統,服務器+用戶端+數據庫+源代碼.搜集的一個資料,源碼也有,供大家學習研究

代碼片段和文件信息
//?Client.cpp?:?Defines?the?class?behaviors?for?the?application.
//?download?by?http://www.codefans.net
#include?“stdafx.h“
#include?“Client.h“
#include?“ClientDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CClientApp
BEGIN_MESSAGE_MAP(CClientApp?CWinApp)
//{{AFX_MSG_MAP(CClientApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CClientApp?construction
CClientApp::CClientApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClientApp?object
CClientApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CClientApp?initialization
BOOL?CClientApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CClientDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2540??2008-01-26?11:14??Lelecode.com\考試系統\Client\Client.clw
?????文件???????2099??2011-02-22?13:23??Lelecode.com\考試系統\Client\Client.cpp
?????文件???????4540??2008-01-18?19:38??Lelecode.com\考試系統\Client\Client.dsp
?????文件????????537??2008-01-19?18:34??Lelecode.com\考試系統\Client\Client.dsw
?????文件???????1324??2008-01-15?16:06??Lelecode.com\考試系統\Client\Client.h
?????文件???????7334??2008-01-25?10:06??Lelecode.com\考試系統\Client\Client.rc
?????文件??????10619??2011-02-22?13:23??Lelecode.com\考試系統\Client\ClientDlg.cpp
?????文件???????2321??2008-01-23?21:30??Lelecode.com\考試系統\Client\ClientDlg.h
?????文件???????3975??2011-02-22?13:23??Lelecode.com\考試系統\Client\ClientSocket.cpp
?????文件???????1042??2008-01-23?20:50??Lelecode.com\考試系統\Client\ClientSocket.h
?????文件???????5446??2011-02-22?13:23??Lelecode.com\考試系統\Client\Item.cpp
?????文件???????1452??2008-01-23?21:24??Lelecode.com\考試系統\Client\Item.h
?????文件???????1653??2011-02-22?13:23??Lelecode.com\考試系統\Client\LoginDlg.cpp
?????文件???????1382??2008-01-18?22:13??Lelecode.com\考試系統\Client\LoginDlg.h
?????文件???????1078??2008-01-15?16:06??Lelecode.com\考試系統\Client\res\Client.ico
?????文件????????398??2008-01-15?16:06??Lelecode.com\考試系統\Client\res\Client.rc2
?????文件???????1925??2008-01-25?09:38??Lelecode.com\考試系統\Client\resource.h
?????文件????????208??2008-01-15?16:06??Lelecode.com\考試系統\Client\StdAfx.cpp
?????文件???????1889??2008-01-21?15:34??Lelecode.com\考試系統\Client\StdAfx.h
?????文件???????6822??2011-02-22?13:24??Lelecode.com\考試系統\Server\ClientContext.cpp
?????文件???????1681??2008-01-22?19:48??Lelecode.com\考試系統\Server\ClientContext.h
?????文件???????2917??2008-01-23?11:34??Lelecode.com\考試系統\Server\ClientManager.cpp
?????文件???????1271??2008-01-22?19:57??Lelecode.com\考試系統\Server\ClientManager.h
?????文件?????462848??2008-03-07?16:58??Lelecode.com\考試系統\Server\Exam.mdb
?????文件???????3214??2011-02-22?13:24??Lelecode.com\考試系統\Server\MainFrm.cpp
?????文件???????1548??2008-01-21?23:49??Lelecode.com\考試系統\Server\MainFrm.h
?????文件??????90619??2006-12-26?21:07??Lelecode.com\考試系統\Server\msado15.tlh
?????文件??????76614??2006-12-26?21:07??Lelecode.com\考試系統\Server\msado15.tli
?????文件???????1078??2008-01-15?16:05??Lelecode.com\考試系統\Server\res\Server.ico
?????文件????????398??2008-01-15?16:05??Lelecode.com\考試系統\Server\res\Server.rc2
............此處省略27個文件信息
評論
共有 條評論