vc++课设作业。。。。科学计算器 十进制转十六进制有些不完善,见谅。。
功能+,-,*,/,sin, cos, tan, cot, 1/x, n!, -/+, 清除, 退格 十进制转二,八,十六进制
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 35840 2018-01-04 22:20 Calculator.vsCalculatorv14.suo
文件 947 2018-01-02 22:59 CalculatorBackup1Calculator.sln
文件 947 2018-01-04 14:53 CalculatorBackup2Calculator.sln
文件 46112 2018-01-04 20:56 CalculatorCalculator.aps
文件 2279 2008-12-14 22:24 CalculatorCalculator.clw
文件 2119 2008-10-21 20:46 CalculatorCalculator.cpp
文件 4293 2008-10-26 15:36 CalculatorCalculator.dsp
文件 528 2008-10-21 21:20 CalculatorCalculator.dsw
文件 1368 2008-10-21 20:46 CalculatorCalculator.h
文件 99328 2008-12-14 22:24 CalculatorCalculator.ncb
文件 50688 2008-12-14 22:24 CalculatorCalculator.opt
文件 1169 2008-12-14 22:24 CalculatorCalculator.plg
文件 6955 2018-01-04 20:56 CalculatorCalculator.rc
文件 82378752 2018-01-04 22:20 CalculatorCalculator.sdf
文件 947 2018-01-04 19:52 CalculatorCalculator.sln
文件 8117 2018-01-04 20:56 CalculatorCalculator.vcxproj
文件 2065 2018-01-04 19:52 CalculatorCalculator.vcxproj.filters
文件 8898 2018-01-04 22:06 CalculatorCalculatorDlg.cpp
文件 1776 2018-01-04 21:57 CalculatorCalculatorDlg.h
文件 130560 2018-01-04 22:06 CalculatorDebugCalculator.exe
文件 1590044 2018-01-04 22:06 CalculatorDebugCalculator.ilk
文件 1842 2018-01-04 22:06 CalculatorDebugCalculator.log
文件 26348 2018-01-04 20:54 CalculatorDebugCalculator.obj
文件 38273024 2018-01-04 19:54 CalculatorDebugCalculator.pch
文件 6066176 2018-01-04 22:06 CalculatorDebugCalculator.pdb
文件 5856 2018-01-04 20:56 CalculatorDebugCalculator.res
文件 156 2018-01-04 22:06 CalculatorDebugCalculator.tlogCalculator.lastbuildstate
文件 2128 2018-01-04 22:06 CalculatorDebugCalculator.tlogCL.command.1.tlog
文件 44684 2018-01-04 22:06 CalculatorDebugCalculator.tlogCL.read.1.tlog
文件 1280 2018-01-04 22:06 CalculatorDebugCalculator.tlogCL.write.1.tlog
............此处省略38个文件信息
// Calculator.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Calculator.h“
#include “CalculatorDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCalculatorApp
BEGIN_MESSAGE_MAP(CCalculatorApp CWinApp)
//{{AFX_MSG_MAP(CCalculatorApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCalculatorApp construction
CCalculatorApp::CCalculatorApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCalculatorApp object
CCalculatorApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCalculatorApp initialization
BOOL CCalculatorApp::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
CCalculatorDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 35840 2018-01-04 22:20 Calculator.vsCalculatorv14.suo
文件 947 2018-01-02 22:59 CalculatorBackup1Calculator.sln
文件 947 2018-01-04 14:53 CalculatorBackup2Calculator.sln
文件 46112 2018-01-04 20:56 CalculatorCalculator.aps
文件 2279 2008-12-14 22:24 CalculatorCalculator.clw
文件 2119 2008-10-21 20:46 CalculatorCalculator.cpp
文件 4293 2008-10-26 15:36 CalculatorCalculator.dsp
文件 528 2008-10-21 21:20 CalculatorCalculator.dsw
文件 1368 2008-10-21 20:46 CalculatorCalculator.h
文件 99328 2008-12-14 22:24 CalculatorCalculator.ncb
文件 50688 2008-12-14 22:24 CalculatorCalculator.opt
文件 1169 2008-12-14 22:24 CalculatorCalculator.plg
文件 6955 2018-01-04 20:56 CalculatorCalculator.rc
文件 82378752 2018-01-04 22:20 CalculatorCalculator.sdf
文件 947 2018-01-04 19:52 CalculatorCalculator.sln
文件 8117 2018-01-04 20:56 CalculatorCalculator.vcxproj
文件 2065 2018-01-04 19:52 CalculatorCalculator.vcxproj.filters
文件 8898 2018-01-04 22:06 CalculatorCalculatorDlg.cpp
文件 1776 2018-01-04 21:57 CalculatorCalculatorDlg.h
文件 130560 2018-01-04 22:06 CalculatorDebugCalculator.exe
文件 1590044 2018-01-04 22:06 CalculatorDebugCalculator.ilk
文件 1842 2018-01-04 22:06 CalculatorDebugCalculator.log
文件 26348 2018-01-04 20:54 CalculatorDebugCalculator.obj
文件 38273024 2018-01-04 19:54 CalculatorDebugCalculator.pch
文件 6066176 2018-01-04 22:06 CalculatorDebugCalculator.pdb
文件 5856 2018-01-04 20:56 CalculatorDebugCalculator.res
文件 156 2018-01-04 22:06 CalculatorDebugCalculator.tlogCalculator.lastbuildstate
文件 2128 2018-01-04 22:06 CalculatorDebugCalculator.tlogCL.command.1.tlog
文件 44684 2018-01-04 22:06 CalculatorDebugCalculator.tlogCL.read.1.tlog
文件 1280 2018-01-04 22:06 CalculatorDebugCalculator.tlogCL.write.1.tlog
............此处省略38个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)