資源簡介
利用Visual C++,可進行各類運算的計算器

代碼片段和文件信息
//?SC.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“SC.h“
#include?“SCDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CSCApp
BEGIN_MESSAGE_MAP(CSCApp?CWinApp)
//{{AFX_MSG_MAP(CSCApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CSCApp?construction
CSCApp::CSCApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CSCApp?object
CSCApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CSCApp?initialization
BOOL?CSCApp::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
CSCDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????766??2006-12-02?13:02??C++科學計算器\CALC.ICO
?????文件?????127032??2011-10-21?12:13??C++科學計算器\Debug\SC.exe
?????文件?????216204??2011-10-21?12:13??C++科學計算器\Debug\SC.ilk
?????文件??????13799??2011-10-21?12:13??C++科學計算器\Debug\SC.obj
?????文件????5492996??2011-10-21?12:13??C++科學計算器\Debug\SC.pch
?????文件?????287744??2011-10-21?12:13??C++科學計算器\Debug\SC.pdb
?????文件???????4124??2011-10-21?12:13??C++科學計算器\Debug\SC.res
?????文件??????55702??2011-10-21?12:13??C++科學計算器\Debug\SCDlg.obj
?????文件?????105572??2011-10-21?12:13??C++科學計算器\Debug\StdAfx.obj
?????文件?????205824??2011-10-21?12:15??C++科學計算器\Debug\vc60.idb
?????文件?????364544??2011-10-21?12:13??C++科學計算器\Debug\vc60.pdb
?????文件???????3507??2006-12-01?18:54??C++科學計算器\ReadMe.txt
?????文件????????394??2006-12-01?18:54??C++科學計算器\res\SC.rc2
?????文件???????3072??2006-12-12?00:30??C++科學計算器\resource.h
?????文件??????40604??2008-03-12?15:42??C++科學計算器\SC.APS
?????文件???????3297??2008-03-12?15:42??C++科學計算器\SC.clw
?????文件???????2007??2006-12-01?18:54??C++科學計算器\SC.cpp
?????文件???????4145??2006-12-02?13:04??C++科學計算器\SC.dsp
?????文件????????529??2006-12-01?18:56??C++科學計算器\SC.dsw
?????文件???????1280??2006-12-01?18:54??C++科學計算器\SC.h
?????文件??????66560??2011-10-21?12:15??C++科學計算器\SC.ncb
?????文件??????48640??2011-10-21?12:15??C++科學計算器\SC.opt
?????文件???????1529??2011-10-21?12:13??C++科學計算器\SC.plg
?????文件???????8600??2008-03-12?15:42??C++科學計算器\SC.rc
?????文件????????893??2007-05-18?23:15??C++科學計算器\SC.sln
????..A..H.??????8704??2007-05-18?23:15??C++科學計算器\SC.suo
?????文件???????6013??2007-05-18?23:15??C++科學計算器\SC.vcproj
?????文件??????23247??2007-04-24?22:29??C++科學計算器\SCDlg.cpp
?????文件???????2166??2006-12-12?00:50??C++科學計算器\SCDlg.h
?????文件????????204??2006-12-01?18:54??C++科學計算器\StdAfx.cpp
............此處省略7個文件信息
評論
共有 條評論