资源简介
功能非常齐全,跟电脑自带的计算器一样,而且还自动显示时间,是本人在简易计算器的基础上改进的
代码片段和文件信息
// Calculate.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Calculate.h“
#include “CalculateDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCalculateApp
BEGIN_MESSAGE_MAP(CCalculateApp CWinApp)
//{{AFX_MSG_MAP(CCalculateApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCalculateApp construction
CCalculateApp::CCalculateApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCalculateApp object
CCalculateApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCalculateApp initialization
BOOL CCalculateApp::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
CCalculateDlg 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 2014-01-04 20:31 Calculate\
文件 123268 2013-11-28 21:49 Calculate\Calculate.aps
文件 2219 2014-01-04 20:30 Calculate\Calculate.clw
文件 2105 2007-10-26 23:38 Calculate\Calculate.cpp
文件 4109 2007-10-26 23:38 Calculate\Calculate.dsp
文件 526 2007-10-27 00:55 Calculate\Calculate.dsw
文件 1357 2007-10-27 00:58 Calculate\Calculate.h
文件 99328 2014-01-04 20:31 Calculate\Calculate.ncb
文件 86016 2014-01-04 20:31 Calculate\Calculate.opt
文件 955 2014-01-04 20:31 Calculate\Calculate.plg
文件 6625 2013-11-28 21:49 Calculate\Calculate.rc
文件 13240 2014-01-04 20:30 Calculate\CalculateDlg.cpp
文件 3473 2013-11-07 08:14 Calculate\CalculateDlg.dsp
文件 547 2013-11-07 08:16 Calculate\CalculateDlg.dsw
文件 2243 2013-11-29 22:18 Calculate\CalculateDlg.h
文件 50176 2013-11-28 16:06 Calculate\CalculateDlg.ncb
文件 84992 2013-11-28 16:06 Calculate\CalculateDlg.opt
文件 946 2013-11-28 16:06 Calculate\CalculateDlg.plg
目录 0 2014-01-04 20:31 Calculate\Debug\
文件 2244666 2014-01-04 20:31 Calculate\Debug\Calculate.exe
文件 3240476 2014-01-04 20:31 Calculate\Debug\Calculate.ilk
文件 12341 2007-10-27 00:58 Calculate\Debug\Calculate.obj
文件 5661340 2007-10-26 23:46 Calculate\Debug\Calculate.pch
文件 4121600 2014-01-04 20:31 Calculate\Debug\Calculate.pdb
文件 94964 2013-11-28 21:49 Calculate\Debug\Calculate.res
文件 49749 2014-01-04 20:31 Calculate\Debug\CalculateDlg.obj
文件 25600 2013-11-28 16:06 Calculate\Debug\CalculateDlg.pdb
文件 105407 2007-10-26 23:46 Calculate\Debug\StdAfx.obj
文件 222208 2014-01-04 20:31 Calculate\Debug\vc60.idb
文件 389120 2014-01-04 20:31 Calculate\Debug\vc60.pdb
文件 3633 2007-10-26 23:38 Calculate\ReadMe.txt
............此处省略7个文件信息
评论
共有 条评论