实验内容与要求
1、二进制、八进制、十进制及十六进制数的加、减、乘、除、乘方、取模等简单计算
2、科学计算函数,包括(反)正弦、(反)余弦、(反)正切、(反)余切、开方、指数等函数运行
3、以角度、弧度两种方式实现上述部分函数
4、具备历史计算的记忆功能
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4643 2007-08-30 01:08 VC课程设计Calculator.clw
文件 2119 2006-11-25 23:14 VC课程设计Calculator.cpp
文件 4700 2006-11-26 17:39 VC课程设计Calculator.dsp
文件 528 2006-11-25 23:14 VC课程设计Calculator.dsw
文件 1368 2006-11-25 23:14 VC课程设计Calculator.h
文件 107520 2007-08-30 01:09 VC课程设计Calculator.ncb
文件 917 2007-08-30 01:08 VC课程设计Calculator.plg
文件 35291 2006-11-30 00:32 VC课程设计CalculatorDlg.cpp
文件 6240 2006-11-30 00:30 VC课程设计CalculatorDlg.h
文件 3345 2006-11-26 18:10 VC课程设计NewButton.cpp
文件 1645 2006-11-26 14:18 VC课程设计NewButton.h
文件 1958 2006-11-26 14:47 VC课程设计NewEdit.cpp
文件 1262 2006-11-26 14:48 VC课程设计NewEdit.h
文件 833 2006-11-26 14:50 VC课程设计NewStatic.cpp
文件 1163 2006-11-26 14:49 VC课程设计NewStatic.h
文件 3651 2006-11-25 23:14 VC课程设计ReadMe.txt
文件 4236 2006-11-30 00:27 VC课程设计
esource.h
文件 212 2006-11-25 23:14 VC课程设计StdAfx.cpp
文件 1080 2006-11-26 01:25 VC课程设计StdAfx.h
文件 662980 2007-08-30 01:08 VC课程设计Calculator.aps
文件 13529 2007-08-30 01:08 VC课程设计Calculator.rc
文件 675840 2007-08-30 01:08 VC课程设计Calculator.exe
文件 104448 2007-08-30 01:09 VC课程设计Calculator.opt
文件 402 2006-11-25 23:14 VC课程设计
esCalculator.rc2
文件 326 2006-11-26 14:08 VC课程设计
escursor1.cur
文件 766 2006-11-25 23:30 VC课程设计
esicon2.ico
文件 619134 2006-11-26 13:36 VC课程设计
es静物创意——003.bmp
目录 0 2007-08-30 01:09 VC课程设计
es
文件 256000 2007-01-05 23:11 VC课程设计实验报告.doc
目录 0 2007-08-30 01:09 VC课程设计
............此处省略3个文件信息
// 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4643 2007-08-30 01:08 VC课程设计Calculator.clw
文件 2119 2006-11-25 23:14 VC课程设计Calculator.cpp
文件 4700 2006-11-26 17:39 VC课程设计Calculator.dsp
文件 528 2006-11-25 23:14 VC课程设计Calculator.dsw
文件 1368 2006-11-25 23:14 VC课程设计Calculator.h
文件 107520 2007-08-30 01:09 VC课程设计Calculator.ncb
文件 917 2007-08-30 01:08 VC课程设计Calculator.plg
文件 35291 2006-11-30 00:32 VC课程设计CalculatorDlg.cpp
文件 6240 2006-11-30 00:30 VC课程设计CalculatorDlg.h
文件 3345 2006-11-26 18:10 VC课程设计NewButton.cpp
文件 1645 2006-11-26 14:18 VC课程设计NewButton.h
文件 1958 2006-11-26 14:47 VC课程设计NewEdit.cpp
文件 1262 2006-11-26 14:48 VC课程设计NewEdit.h
文件 833 2006-11-26 14:50 VC课程设计NewStatic.cpp
文件 1163 2006-11-26 14:49 VC课程设计NewStatic.h
文件 3651 2006-11-25 23:14 VC课程设计ReadMe.txt
文件 4236 2006-11-30 00:27 VC课程设计
esource.h
文件 212 2006-11-25 23:14 VC课程设计StdAfx.cpp
文件 1080 2006-11-26 01:25 VC课程设计StdAfx.h
文件 662980 2007-08-30 01:08 VC课程设计Calculator.aps
文件 13529 2007-08-30 01:08 VC课程设计Calculator.rc
文件 675840 2007-08-30 01:08 VC课程设计Calculator.exe
文件 104448 2007-08-30 01:09 VC课程设计Calculator.opt
文件 402 2006-11-25 23:14 VC课程设计
esCalculator.rc2
文件 326 2006-11-26 14:08 VC课程设计
escursor1.cur
文件 766 2006-11-25 23:30 VC课程设计
esicon2.ico
文件 619134 2006-11-26 13:36 VC课程设计
es静物创意——003.bmp
目录 0 2007-08-30 01:09 VC课程设计
es
文件 256000 2007-01-05 23:11 VC课程设计实验报告.doc
目录 0 2007-08-30 01:09 VC课程设计
............此处省略3个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)