資源簡介
用Vc++實現的計算器
可以直接編譯運行,無錯誤 這是自己在課余時間做的 嘻嘻

代碼片段和文件信息
//?JiSuanQi.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“JiSuanQi.h“
#include?“JiSuanQiDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CJiSuanQiApp
BEGIN_MESSAGE_MAP(CJiSuanQiApp?CWinApp)
//{{AFX_MSG_MAP(CJiSuanQiApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CJiSuanQiApp?construction
CJiSuanQiApp::CJiSuanQiApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CJiSuanQiApp?object
CJiSuanQiApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CJiSuanQiApp?initialization
BOOL?CJiSuanQiApp::InitInstance()
{
AfxEnableControlContainer();
this->SetDialogBkColor(RGB(41229172)RGB(9151182));
//?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
CJiSuanQiDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????174316??2008-10-06?18:36??計算器(06.2班秦偉0611701087)\JiSuanQi.aps
?????文件???????2151??2008-10-01?23:10??計算器(06.2班秦偉0611701087)\JiSuanQi.cpp
?????文件???????4390??2008-10-01?20:47??計算器(06.2班秦偉0611701087)\JiSuanQi.dsp
?????文件????????541??2008-09-29?11:07??計算器(06.2班秦偉0611701087)\JiSuanQi.dsw
?????文件???????1349??2008-09-30?22:56??計算器(06.2班秦偉0611701087)\JiSuanQi.h
?????文件??????74752??2008-10-22?15:06??計算器(06.2班秦偉0611701087)\JiSuanQi.ncb
?????文件??????53760??2008-10-22?15:06??計算器(06.2班秦偉0611701087)\JiSuanQi.opt
?????文件????????250??2008-10-22?15:06??計算器(06.2班秦偉0611701087)\JiSuanQi.plg
?????文件???????7596??2008-10-01?20:57??計算器(06.2班秦偉0611701087)\JiSuanQi.rc
?????文件??????18476??2008-10-22?15:06??計算器(06.2班秦偉0611701087)\JiSuanQiDlg.cpp
?????文件???????2197??2008-10-01?20:39??計算器(06.2班秦偉0611701087)\JiSuanQiDlg.h
?????文件???????3615??2008-09-29?11:07??計算器(06.2班秦偉0611701087)\ReadMe.txt
?????文件?????151254??2008-09-29?12:39??計算器(06.2班秦偉0611701087)\res\bitmap3.bmp
?????文件???????1078??2008-09-29?12:42??計算器(06.2班秦偉0611701087)\res\JiSuanQi.ico
?????文件????????400??2008-09-29?11:07??計算器(06.2班秦偉0611701087)\res\JiSuanQi.rc2
????..A.SH.??????5120??2008-09-29?12:50??計算器(06.2班秦偉0611701087)\res\Thumbs.db
?????文件???????2020??2008-10-01?20:57??計算器(06.2班秦偉0611701087)\resource.h
?????文件???????1175??2008-10-01?21:10??計算器(06.2班秦偉0611701087)\SecondDlg.cpp
?????文件???????1028??2008-10-01?21:10??計算器(06.2班秦偉0611701087)\SecondDlg.h
?????文件????????210??2008-09-29?11:07??計算器(06.2班秦偉0611701087)\StdAfx.cpp
?????文件???????1054??2008-09-29?11:07??計算器(06.2班秦偉0611701087)\StdAfx.h
?????文件?????????99??2008-10-02?18:35??計算器(06.2班秦偉0611701087)\沒有解決的問題.txt
?????目錄??????????0??2008-09-29?12:42??計算器(06.2班秦偉0611701087)\res
?????目錄??????????0??2008-10-31?20:25??計算器(06.2班秦偉0611701087)
-----------?---------??----------?-----??----
???????????????506831????????????????????24
- 上一篇:C++課程設計——銀行儲蓄管理系統
- 下一篇:巖土工程的D-P模型
評論
共有 條評論