MFC计算器编程,可视化,含详细实现文档,大作业
实现了加减乘除、开方、取余、连算等功能,含有详细实现文档,修复了所有的bug。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2151054 2017-11-26 15:43 Caculator.rar
文件 22912 2014-03-02 22:05 CaculatorCaculatorCaculator.aps
文件 2070 2014-03-04 15:15 CaculatorCaculatorCaculator.clw
文件 2085 2014-03-02 12:50 CaculatorCaculatorCaculator.cpp
文件 4210 2014-03-02 13:01 CaculatorCaculatorCaculator.dsp
文件 541 2014-02-28 03:41 CaculatorCaculatorCaculator.dsw
文件 1240 2014-02-28 05:39 CaculatorCaculatorCaculator.h
文件 91136 2014-03-04 15:45 CaculatorCaculatorCaculator.ncb
文件 55808 2014-03-04 15:45 CaculatorCaculatorCaculator.opt
文件 1044 2014-03-02 22:56 CaculatorCaculatorCaculator.plg
文件 6598 2014-03-02 16:33 CaculatorCaculatorCaculator.rc
文件 12451 2014-03-02 22:56 CaculatorCaculatorCaculatorDlg.cpp
文件 2293 2014-03-04 15:15 CaculatorCaculatorCaculatorDlg.h
文件 118918 2014-03-02 22:56 CaculatorCaculatorDebugCaculator.exe
文件 231408 2014-03-02 22:56 CaculatorCaculatorDebugCaculator.ilk
文件 17396 2014-03-02 22:06 CaculatorCaculatorDebugCaculator.obj
文件 5966736 2014-03-02 22:06 CaculatorCaculatorDebugCaculator.pch
文件 394240 2014-03-02 22:56 CaculatorCaculatorDebugCaculator.pdb
文件 3392 2014-03-02 16:33 CaculatorCaculatorDebugCaculator.res
文件 57110 2014-03-02 22:56 CaculatorCaculatorDebugCaculatorDlg.obj
文件 106555 2014-03-02 22:06 CaculatorCaculatorDebugStdAfx.obj
文件 369664 2014-03-02 23:02 CaculatorCaculatorDebugvc60.idb
文件 471040 2014-03-02 22:56 CaculatorCaculatorDebugvc60.pdb
文件 10986 2014-03-02 13:00 CaculatorCaculatorff.asp
文件 3633 2014-02-28 03:41 CaculatorCaculatorReadMe.txt
文件 1078 2014-03-02 12:54 CaculatorCaculator
esCaculator.ico
文件 401 2014-02-28 03:41 CaculatorCaculator
esCaculator.rc2
文件 1791 2014-03-01 14:32 CaculatorCaculator
esource.h
文件 211 2014-02-28 03:41 CaculatorCaculatorStdAfx.cpp
文件 1056 2014-03-01 21:17 CaculatorCaculatorStdAfx.h
............此处省略8个文件信息
// Caculator.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Caculator.h“
#include “CaculatorDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCaculatorApp
BEGIN_MESSAGE_MAP(CCaculatorApp CWinApp)
//{{AFX_MSG_MAP(CCaculatorApp)
ON_COMMAND(ID_EXIT OnExit)
//}}AFX_MSG_MAP
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCaculatorApp construction
CCaculatorApp::CCaculatorApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCaculatorApp object
CCaculatorApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCaculatorApp initialization
BOOL CCaculatorApp::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
CCaculatorDlg 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;
}
void CCaculatorApp::OnExit()
{
AfxGetMainWnd()->SendMessage(WM_CLOSE);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2151054 2017-11-26 15:43 Caculator.rar
文件 22912 2014-03-02 22:05 CaculatorCaculatorCaculator.aps
文件 2070 2014-03-04 15:15 CaculatorCaculatorCaculator.clw
文件 2085 2014-03-02 12:50 CaculatorCaculatorCaculator.cpp
文件 4210 2014-03-02 13:01 CaculatorCaculatorCaculator.dsp
文件 541 2014-02-28 03:41 CaculatorCaculatorCaculator.dsw
文件 1240 2014-02-28 05:39 CaculatorCaculatorCaculator.h
文件 91136 2014-03-04 15:45 CaculatorCaculatorCaculator.ncb
文件 55808 2014-03-04 15:45 CaculatorCaculatorCaculator.opt
文件 1044 2014-03-02 22:56 CaculatorCaculatorCaculator.plg
文件 6598 2014-03-02 16:33 CaculatorCaculatorCaculator.rc
文件 12451 2014-03-02 22:56 CaculatorCaculatorCaculatorDlg.cpp
文件 2293 2014-03-04 15:15 CaculatorCaculatorCaculatorDlg.h
文件 118918 2014-03-02 22:56 CaculatorCaculatorDebugCaculator.exe
文件 231408 2014-03-02 22:56 CaculatorCaculatorDebugCaculator.ilk
文件 17396 2014-03-02 22:06 CaculatorCaculatorDebugCaculator.obj
文件 5966736 2014-03-02 22:06 CaculatorCaculatorDebugCaculator.pch
文件 394240 2014-03-02 22:56 CaculatorCaculatorDebugCaculator.pdb
文件 3392 2014-03-02 16:33 CaculatorCaculatorDebugCaculator.res
文件 57110 2014-03-02 22:56 CaculatorCaculatorDebugCaculatorDlg.obj
文件 106555 2014-03-02 22:06 CaculatorCaculatorDebugStdAfx.obj
文件 369664 2014-03-02 23:02 CaculatorCaculatorDebugvc60.idb
文件 471040 2014-03-02 22:56 CaculatorCaculatorDebugvc60.pdb
文件 10986 2014-03-02 13:00 CaculatorCaculatorff.asp
文件 3633 2014-02-28 03:41 CaculatorCaculatorReadMe.txt
文件 1078 2014-03-02 12:54 CaculatorCaculator
esCaculator.ico
文件 401 2014-02-28 03:41 CaculatorCaculator
esCaculator.rc2
文件 1791 2014-03-01 14:32 CaculatorCaculator
esource.h
文件 211 2014-02-28 03:41 CaculatorCaculatorStdAfx.cpp
文件 1056 2014-03-01 21:17 CaculatorCaculatorStdAfx.h
............此处省略8个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)