資源簡介
純粹只是添加了幾行代碼做出的加減乘除功能的計算器,幾十K到大小,適合拿來應付某些···(你懂的~)

代碼片段和文件信息
//?jsq.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“jsq.h“
#include?“jsqDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CJsqApp
BEGIN_MESSAGE_MAP(CJsqApp?CWinApp)
//{{AFX_MSG_MAP(CJsqApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CJsqApp?construction
CJsqApp::CJsqApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CJsqApp?object
CJsqApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CJsqApp?initialization
BOOL?CJsqApp::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
CJsqDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-03-09?15:19??jsq\
?????文件???????35748??2011-03-08?15:34??jsq\jsq.aps
?????文件????????1412??2011-03-09?15:19??jsq\jsq.clw
?????文件????????2021??2011-03-08?14:47??jsq\jsq.cpp
?????文件????????4105??2011-03-08?14:47??jsq\jsq.dsp
?????文件?????????512??2011-03-08?14:47??jsq\jsq.dsw
?????文件????????1291??2011-03-08?14:47??jsq\jsq.h
?????文件???????50176??2011-03-09?15:19??jsq\jsq.ncb
?????文件???????53760??2011-03-09?15:19??jsq\jsq.opt
?????文件????????1480??2011-03-09?15:19??jsq\jsq.plg
?????文件????????5650??2011-03-08?15:34??jsq\jsq.rc
?????文件????????5294??2011-03-08?15:34??jsq\jsqDlg.cpp
?????文件????????1466??2011-03-08?15:33??jsq\jsqDlg.h
?????文件????????3525??2011-03-08?14:47??jsq\ReadMe.txt
?????目錄???????????0??2011-03-08?14:47??jsq\res\
?????文件????????1078??2011-03-08?14:47??jsq\res\jsq.ico
?????文件?????????395??2011-03-08?14:47??jsq\res\jsq.rc2
?????文件????????1003??2011-03-08?15:26??jsq\resource.h
?????文件?????????205??2011-03-08?14:47??jsq\StdAfx.cpp
?????文件????????1054??2011-03-08?14:47??jsq\StdAfx.h
- 上一篇:C++畫數學函數圖象
- 下一篇:Vc++6.0MFC入門教程,很好的資源。
評論
共有 條評論