資源簡(jiǎn)介
基本功能類似Windows計(jì)算器,增加了一些功能 實(shí)現(xiàn)了二進(jìn)制、八進(jìn)制、十進(jìn)制及十六進(jìn)制數(shù)的加、減、乘、除、乘方、取模等簡(jiǎn)單計(jì)算 包括(反)正弦、(反)余弦、(反)正切、(反)余切、開方、指數(shù)等函數(shù)運(yùn)算 具備歷史計(jì)算的記憶功能 對(duì)不正確的表達(dá)式能指出其錯(cuò)誤原因

代碼片段和文件信息
//?col.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“col.h“
#include?“colDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CColApp
BEGIN_MESSAGE_MAP(CColApp?CWinApp)
//{{AFX_MSG_MAP(CColApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CColApp?construction
CColApp::CColApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CColApp?object
CColApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CColApp?initialization
BOOL?CColApp::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
CColDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????38192??2008-12-22?00:34??VC計(jì)算器\col\col.aps
?????文件???????3058??2009-01-03?22:15??VC計(jì)算器\col\col.clw
?????文件???????2021??2008-11-15?17:57??VC計(jì)算器\col\col.cpp
?????文件???????4105??2008-11-15?17:57??VC計(jì)算器\col\col.dsp
?????文件????????529??2008-11-15?17:57??VC計(jì)算器\col\col.dsw
?????文件???????1291??2008-11-15?17:57??VC計(jì)算器\col\col.h
?????文件??????74752??2009-01-03?22:16??VC計(jì)算器\col\col.ncb
?????文件?????159232??2009-01-03?22:16??VC計(jì)算器\col\col.opt
?????文件????????881??2009-01-03?14:26??VC計(jì)算器\col\col.plg
?????文件???????8089??2008-12-22?00:34??VC計(jì)算器\col\col.rc
?????文件??????33908??2009-01-03?14:26??VC計(jì)算器\col\colDlg.cpp
?????文件???????4081??2009-01-03?13:52??VC計(jì)算器\col\colDlg.h
?????文件?????147493??2009-01-03?14:26??VC計(jì)算器\col\Debug\col.exe
?????文件?????488548??2009-01-03?14:26??VC計(jì)算器\col\Debug\col.ilk
?????文件??????19152??2009-01-03?14:26??VC計(jì)算器\col\Debug\col.obj
?????文件????5503668??2008-11-15?18:37??VC計(jì)算器\col\Debug\col.pch
?????文件?????443392??2009-01-03?14:26??VC計(jì)算器\col\Debug\col.pdb
?????文件???????4224??2008-12-22?00:36??VC計(jì)算器\col\Debug\col.res
?????文件?????141311??2009-01-03?14:26??VC計(jì)算器\col\Debug\colDlg.obj
?????文件?????105331??2008-11-15?18:37??VC計(jì)算器\col\Debug\StdAfx.obj
?????文件?????214016??2009-01-03?14:26??VC計(jì)算器\col\Debug\vc60.idb
?????文件?????430080??2009-01-03?14:26??VC計(jì)算器\col\Debug\vc60.pdb
?????文件???????3525??2008-11-15?17:57??VC計(jì)算器\col\ReadMe.txt
?????文件???????1078??2008-11-15?17:57??VC計(jì)算器\col\res\col.ico
?????文件????????395??2008-11-15?17:57??VC計(jì)算器\col\res\col.rc2
?????文件???????2843??2008-12-22?00:34??VC計(jì)算器\col\resource.h
?????文件????????205??2008-11-15?17:57??VC計(jì)算器\col\StdAfx.cpp
?????文件???????1054??2008-11-15?17:57??VC計(jì)算器\col\StdAfx.h
?????目錄??????????0??2009-04-03?21:47??VC計(jì)算器\col\Debug
?????目錄??????????0??2009-04-03?21:47??VC計(jì)算器\col\res
............此處省略5個(gè)文件信息
評(píng)論
共有 條評(píng)論