资源简介
实验内容与要求
1、二进制、八进制、十进制及十六进制数的加、减、乘、除、乘方、取模等简单计算
2、科学计算函数,包括(反)正弦、(反)余弦、(反)正切、(反)余切、开方、指数等函数运行
3、以角度、弧度两种方式实现上述部分函数
4、具备历史计算的记忆功能
代码片段和文件信息
// 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课程设计\resource.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课程设计\res\Calculator.rc2
文件 326 2006-11-26 14:08 VC课程设计\res\cursor1.cur
文件 766 2006-11-25 23:30 VC课程设计\res\icon2.ico
文件 619134 2006-11-26 13:36 VC课程设计\res\静物创意——003.bmp
目录 0 2007-08-30 01:09 VC课程设计\res
文件 256000 2007-01-05 23:11 VC课程设计\实验报告.doc
目录 0 2007-08-30 01:09 VC课程设计
............此处省略3个文件信息
相关资源
- PB非常优秀的授权框架源码
- react移动端H5点餐项目源码.rar
- WDK源码中 usbView 的编译及说明 .
- VC++开发的仓库管理系统设计文档和
- Qt黑白棋项目源码
- 某单位信息系统安全等级保护测评报
- FastReport报告模板设计器
- 运动车辆检测跟踪系统vc源码opencv
- windows MSVCP100
- ARP木马课程设计报告
- 房产租房管理系统 计算机专业本科毕
- 五子棋(GoBang) 安卓APP 源码
- 米酷影视源码MKCMS5.0影视源码
- Tomcat 系统架构与设计模式
- 欧洲 测量与标定协议 XCP 文档,vect
- DirectX.Capture ffdshow摄像头录制视频拍照
- 河北工业大学微机原理与接口实验报
- e4a源码+登录验证+同步官方
- 全球手术机器人行业发展研究报告 普
- unix高级环境编程第3版英文版高清PD
- modbus主机源码.rar
- 中文信息处理发展报告2016+知识图谱发
- 以太坊最新源码 go语言版
- 用VC2010编写的基于TCPIP的Modbus网络通讯
- 驾校管理系统源码
- 校园小商品交易系统源码20131225
- Elecard HEVC Analyzer v1.14
- mxgraphDemo
- 医院信息科运维登记系统源码
- 基于MVC的商城购物系统
评论
共有 条评论