資源簡介
C++ MFC ATM系統
vs2005
通俗易懂
你懂的

代碼片段和文件信息
//?CMyATM.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CMyATM.h“
#include?“MainFrm.h“
#include?“CMyATMDoc.h“
#include?“CMyATMView.h“
#include?“Longon.h“
#include?“Register.h“
#include?“MainMenue.h“
#include?“Draw.h“
#include?“Deposit.h“
#include?“Search.h“
#include?“Transfer.h“
#include?“ATMheader.h“
#include?“FileInput.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CCMyATMApp
BEGIN_MESSAGE_MAP(CCMyATMApp?CWinApp)
ON_COMMAND(ID_APP_ABOUT?&CCMyATMApp::OnAppAbout)
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?&CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?&CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?&CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
//?CCMyATMApp?construction
CCMyATMApp::CCMyATMApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
//?The?one?and?only?CCMyATMApp?object
CCMyATMApp?theApp;
//?CCMyATMApp?initialization
BOOL?CCMyATMApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?Set?this?to?include?all?the?common?control?classes?you?want?to?use
//?in?your?application.
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
BOOL?flaceout?=?TRUE;
CLongon?longon;
longon.DoModal();
while?(flaceout)
{
if?(m_option?==?0)???//登陸界面
{
CLongon?longon;
longon.DoModal();
}
if?(m_option?==?1) //注冊界面
{
CRegister?_register;
_register.DoModal();
}
if?(m_option?==?2)???//主菜單界面
{
MainMenue?_mainmenue;
_mainmenue.DoModal();
}
if?(m_option?==?3)???//取款界面
{
CDraw?_draw;
_draw.DoModal();
}
if?(m_option?==?4)???//存款界面
{
CDeposit?_deposit;
_deposit.DoModal();
}
if?(m_option?==?5)???//轉賬界面
{
CTransfer?_tranfer;
_tranfer.DoModal();
}
if?(m_option?==?6)???//查詢界面
{
CSearch?_search;
_search.DoModal();
}
if?(m_option?==?7)???//退出系統
{
flaceout?=?FALSE;
m_account?=?_T(““);
return?0;
}
}
//?Initialize?OLE?libraries
if?(!AfxOleInit())
{
AfxMessageBox(IDP_OLE_INIT_FAILED);
return?FALSE;
}
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
//?Change?the?registry?key?under?which?our?settings?are?stored
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization
SetRegistryKey(_T(“Local?AppWiz
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????85??2011-08-02?12:34??CMyATM\account\1111222233334444.txt
?????文件?????????85??2011-08-02?12:34??CMyATM\account\1234567891234567.txt
?????文件????????523??2011-08-01?15:26??CMyATM\CMyATM\ATMheader.h
?????文件??????77900??2011-08-02?11:38??CMyATM\CMyATM\CMyATM.aps
?????文件???????4878??2011-08-02?09:09??CMyATM\CMyATM\CMyATM.cpp
?????文件????????531??2011-07-28?09:34??CMyATM\CMyATM\CMyATM.h
?????文件??????18054??2011-08-02?11:38??CMyATM\CMyATM\CMyATM.rc
?????文件???????7058??2011-07-28?13:22??CMyATM\CMyATM\CMyATM.vcproj
?????文件???????1407??2011-08-03?14:57??CMyATM\CMyATM\CMyATM.vcproj.SINDYWARE.wangl.user
?????文件???????1115??2011-07-27?14:10??CMyATM\CMyATM\CMyATMDoc.cpp
?????文件????????616??2011-07-27?14:10??CMyATM\CMyATM\CMyATMDoc.h
?????文件???????1911??2011-07-27?14:30??CMyATM\CMyATM\CMyATMView.cpp
?????文件???????1040??2011-07-28?09:34??CMyATM\CMyATM\CMyATMView.h
?????文件???????7420??2011-08-02?11:51??CMyATM\CMyATM\Debug\BuildLog.htm
?????文件????????940??2011-08-02?09:41??CMyATM\CMyATM\Debug\CMyATM.exe.em
?????文件???????1004??2011-08-02?09:41??CMyATM\CMyATM\Debug\CMyATM.exe.em
?????文件????????888??2011-08-02?11:51??CMyATM\CMyATM\Debug\CMyATM.exe.intermediate.manifest
?????文件??????50218??2011-08-02?09:41??CMyATM\CMyATM\Debug\CMyATM.obj
?????文件???13500416??2011-08-02?09:41??CMyATM\CMyATM\Debug\CMyATM.pch
?????文件??????33644??2011-08-02?11:51??CMyATM\CMyATM\Debug\CMyATM.res
?????文件??????22294??2011-08-02?09:41??CMyATM\CMyATM\Debug\CMyATMDoc.obj
?????文件??????30787??2011-08-02?09:41??CMyATM\CMyATM\Debug\CMyATMView.obj
?????文件??????45664??2011-08-02?09:41??CMyATM\CMyATM\Debug\Deposit.obj
?????文件??????46057??2011-08-02?09:41??CMyATM\CMyATM\Debug\Draw.obj
?????文件??????53532??2011-08-02?09:41??CMyATM\CMyATM\Debug\FileInput.obj
?????文件??????32386??2011-08-02?09:41??CMyATM\CMyATM\Debug\FileOutput.obj
?????文件?????100199??2011-08-02?09:41??CMyATM\CMyATM\Debug\Longon.obj
?????文件??????35015??2011-08-02?09:41??CMyATM\CMyATM\Debug\MainFrm.obj
?????文件??????32623??2011-08-02?09:41??CMyATM\CMyATM\Debug\MainMenue.obj
?????文件?????????69??2011-08-02?11:51??CMyATM\CMyATM\Debug\mt.dep
............此處省略52個文件信息
- 上一篇:Expert Visual C++_CLI.pdf
- 下一篇:虹膜識別VC++源程序
評論
共有 條評論