资源简介
实验内容与要求
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个文件信息
相关资源
- E4A无障碍跨程序操作类库(带源码、
- 设备管理系统源码
- 安卓wifi直连app源码
- 我的世界源码(易语言版)
- labview编程软件滤波器以及编写程序设
- 我的界面(visual foxpro)源码
- 易语言:一键cf基址源码
- The Secret Path 3D 3D魔方迷宫[源码][scra
- scratch垃圾分类源码(最终版本).sb
- 安卓QQ6.71协议源码易语言,qq协议源码
- 编译原理实验工具及参考源码(lex&
- E盾偷后台工具源码
- UNIX/LINUX编程实践教程的源码
- 数学建模实验报告(八个全)
- 高频电子线路课程设计报告收音机
- 十以内加减法练习 powerbuilder源码
- 数据库课设:图书管理系统报告
- Windows异步套接字网络编程
- 农场开发项目
- VC 获得文件属性 获取文件的创建时
- OCR源码
- 基于MVC模式的会员管理系统
- PLC上位机编程软件
- 基于web的毕业设计开题报告
- 用foobar2000听google音乐[更新一下]
- silicon lab公司的收音IC SI47XX全套开发工
- 学生信息管理系统源码
- 读者写者问题(读者优先,写者优先
- MFC程序-碰撞的小球
- vc 柱形图 CBarChart
评论
共有 条评论