資源簡介
這只是一個小程序,不過你可以在此基礎上擴展功能!
代碼片段和文件信息
//?Calculator.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Calculator.h“
#include?“CalculatorDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCalculatorApp
BEGIN_MESSAGE_MAP(CCalculatorApp?CWinApp)
//{{AFX_MSG_MAP(CCalculatorApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CCalculatorApp?construction
CCalculatorApp::CCalculatorApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCalculatorApp?object
CCalculatorApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCalculatorApp?initialization
BOOL?CCalculatorApp::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
CCalculatorDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????..A..H.?????35840??2018-01-04?22:20??Calculator\.vs\Calculator\v14\.suo
?????文件????????947??2018-01-02?22:59??Calculator\Backup1\Calculator.sln
?????文件????????947??2018-01-04?14:53??Calculator\Backup2\Calculator.sln
?????文件??????46112??2018-01-04?20:56??Calculator\Calculator.aps
?????文件???????2279??2008-12-14?22:24??Calculator\Calculator.clw
?????文件???????2119??2008-10-21?20:46??Calculator\Calculator.cpp
?????文件???????4293??2008-10-26?15:36??Calculator\Calculator.dsp
?????文件????????528??2008-10-21?21:20??Calculator\Calculator.dsw
?????文件???????1368??2008-10-21?20:46??Calculator\Calculator.h
?????文件??????99328??2008-12-14?22:24??Calculator\Calculator.ncb
?????文件??????50688??2008-12-14?22:24??Calculator\Calculator.opt
?????文件???????1169??2008-12-14?22:24??Calculator\Calculator.plg
?????文件???????6955??2018-01-04?20:56??Calculator\Calculator.rc
?????文件???82378752??2018-01-04?22:20??Calculator\Calculator.sdf
?????文件????????947??2018-01-04?19:52??Calculator\Calculator.sln
?????文件???????8117??2018-01-04?20:56??Calculator\Calculator.vcxproj
?????文件???????2065??2018-01-04?19:52??Calculator\Calculator.vcxproj.filters
?????文件???????8898??2018-01-04?22:06??Calculator\CalculatorDlg.cpp
?????文件???????1776??2018-01-04?21:57??Calculator\CalculatorDlg.h
?????文件?????130560??2018-01-04?22:06??Calculator\Debug\Calculator.exe
?????文件????1590044??2018-01-04?22:06??Calculator\Debug\Calculator.ilk
?????文件???????1842??2018-01-04?22:06??Calculator\Debug\Calculator.log
?????文件??????26348??2018-01-04?20:54??Calculator\Debug\Calculator.obj
?????文件???38273024??2018-01-04?19:54??Calculator\Debug\Calculator.pch
?????文件????6066176??2018-01-04?22:06??Calculator\Debug\Calculator.pdb
?????文件???????5856??2018-01-04?20:56??Calculator\Debug\Calculator.res
?????文件????????156??2018-01-04?22:06??Calculator\Debug\Calculator.tlog\Calculator.lastbuildstate
?????文件???????2128??2018-01-04?22:06??Calculator\Debug\Calculator.tlog\CL.command.1.tlog
?????文件??????44684??2018-01-04?22:06??Calculator\Debug\Calculator.tlog\CL.read.1.tlog
?????文件???????1280??2018-01-04?22:06??Calculator\Debug\Calculator.tlog\CL.write.1.tlog
............此處省略38個文件信息
- 上一篇:java 銀行管理系統 源代碼
- 下一篇:java獨立pdd最新的代碼.rar
評論
共有 條評論