資源簡介
簡單的程序,適合初學者,還可以在此基礎上做自己想要的設計,比如窗口的美化,功能的進一步強化等,初學者不要錯過哦~~

代碼片段和文件信息
//?1123.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“1123.h“
#include?“1123Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy1123App
BEGIN_MESSAGE_MAP(CMy1123App?CWinApp)
//{{AFX_MSG_MAP(CMy1123App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMy1123App?construction
CMy1123App::CMy1123App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy1123App?object
CMy1123App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy1123App?initialization
BOOL?CMy1123App::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
CMy1123Dlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????44440??2010-01-12?15:31??學生信息查詢系統\1123.aps
?????文件???????2403??2010-01-17?16:01??學生信息查詢系統\1123.clw
?????文件???????2057??2010-01-03?16:25??學生信息查詢系統\1123.cpp
?????文件???????4186??2010-01-17?16:01??學生信息查詢系統\1123.dsp
?????文件????????516??2010-01-03?17:14??學生信息查詢系統\1123.dsw
?????文件???????1312??2010-01-03?16:25??學生信息查詢系統\1123.h
?????文件??????58368??2010-01-17?16:01??學生信息查詢系統\1123.ncb
?????文件??????48640??2010-01-17?16:01??學生信息查詢系統\1123.opt
?????文件????????663??2010-01-12?15:31??學生信息查詢系統\1123.plg
?????文件???????7225??2010-01-12?15:31??學生信息查詢系統\1123.rc
?????文件???????1132??2010-01-17?16:00??學生信息查詢系統\1123.txt
?????文件??????11168??2010-01-12?15:31??學生信息查詢系統\1123Dlg.cpp
?????文件???????1549??2010-01-03?17:08??學生信息查詢系統\1123Dlg.h
?????文件?????127031??2010-01-12?15:31??學生信息查詢系統\Debug\1123.exe
?????文件?????240016??2010-01-12?15:31??學生信息查詢系統\Debug\1123.ilk
?????文件??????12672??2010-01-03?17:09??學生信息查詢系統\Debug\1123.obj
?????文件??????43520??2010-01-03?17:11??學生信息查詢系統\Debug\1123.opt
?????文件?????402432??2010-01-12?15:31??學生信息查詢系統\Debug\1123.pdb
?????文件??????10900??2010-01-12?15:31??學生信息查詢系統\Debug\1123.res
?????文件??????57904??2010-01-12?15:31??學生信息查詢系統\Debug\1123Dlg.obj
?????文件?????105327??2010-01-03?16:40??學生信息查詢系統\Debug\StdAfx.obj
?????文件?????205824??2010-01-12?15:31??學生信息查詢系統\Debug\vc60.idb
?????文件?????364544??2010-01-12?15:31??學生信息查詢系統\Debug\vc60.pdb
?????文件???????3549??2010-01-03?16:25??學生信息查詢系統\ReadMe.txt
?????文件???????7398??2010-01-12?15:31??學生信息查詢系統\res\1123.ico
?????文件????????396??2010-01-03?16:25??學生信息查詢系統\res\1123.rc2
?????文件????????766??2010-01-12?15:31??學生信息查詢系統\res\icon1.ico
?????文件???????1601??2010-01-12?15:31??學生信息查詢系統\resource.h
?????文件????????206??2010-01-03?16:25??學生信息查詢系統\StdAfx.cpp
?????文件???????1054??2010-01-03?16:25??學生信息查詢系統\StdAfx.h
............此處省略6個文件信息
- 上一篇:掛機鎖原理與實現vc++源代碼
- 下一篇:PL/0編譯程序文本(C版本)
評論
共有 條評論