资源简介
本设计将实现一个简单计算器。其类似于Windows附件中自带的计算器。这个计算器不仅实现了简单的四则运算功能,还实现了高级的科学计算功能,而且具有简洁大方的图文外观。它的设计按软件工程的方法进行,系统具有良好的界面、必要的交互信息和较好的健壮性使用人员能快捷简单地进行操作。即时准确地获得需要的计算的结果,充分降低了数字计算的难度和节约了时间,对人们的生活有一定的帮助。在课程设计中,系统开发平台为Windows 2000XP,程序设计设计语言采用Visual C++,在程序设计中,采用了结构化与面向对象两种解决问题的方法。

代码片段和文件信息
// MY.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “MY.h“
#include “MYDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMYApp
BEGIN_MESSAGE_MAP(CMYApp CWinApp)
//{{AFX_MSG_MAP(CMYApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CMYApp construction
CMYApp::CMYApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMYApp object
CMYApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CMYApp initialization
BOOL CMYApp::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
CMYDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 114771 2012-05-10 17:57 VC计算器\MY\Debug\MY.exe
文件 209896 2012-05-10 17:57 VC计算器\MY\Debug\MY.ilk
文件 13813 2012-05-10 17:52 VC计算器\MY\Debug\MY.obj
文件 5567852 2012-05-10 17:52 VC计算器\MY\Debug\MY.pch
文件 369664 2012-05-10 17:57 VC计算器\MY\Debug\MY.pdb
文件 3112 2012-05-10 17:52 VC计算器\MY\Debug\MY.res
文件 39550 2012-05-10 17:57 VC计算器\MY\Debug\MYDlg.obj
文件 105769 2012-05-10 17:52 VC计算器\MY\Debug\StdAfx.obj
文件 197632 2012-05-10 17:57 VC计算器\MY\Debug\vc60.idb
文件 364544 2012-05-10 17:57 VC计算器\MY\Debug\vc60.pdb
文件 36632 2012-05-10 14:21 VC计算器\MY\MY.APS
文件 1831 2012-05-11 11:52 VC计算器\MY\MY.clw
文件 2007 2012-05-09 17:43 VC计算器\MY\MY.cpp
文件 4087 2012-05-09 17:43 VC计算器\MY\MY.dsp
文件 512 2012-05-09 17:43 VC计算器\MY\MY.dsw
文件 1280 2012-05-09 17:43 VC计算器\MY\MY.h
文件 58368 2012-05-11 13:43 VC计算器\MY\MY.ncb
文件 53760 2012-05-11 13:43 VC计算器\MY\MY.opt
文件 504 2012-05-10 17:57 VC计算器\MY\MY.plg
文件 6220 2012-05-10 14:21 VC计算器\MY\MY.rc
文件 9112 2012-05-10 18:05 VC计算器\MY\MYDlg.cpp
文件 1925 2012-05-10 16:33 VC计算器\MY\MYDlg.h
文件 3507 2012-05-09 17:43 VC计算器\MY\ReadMe.txt
文件 1078 2012-05-09 17:43 VC计算器\MY\res\MY.ico
文件 394 2012-05-09 17:43 VC计算器\MY\res\MY.rc2
文件 1462 2012-05-09 18:15 VC计算器\MY\resource.h
文件 204 2012-05-09 17:43 VC计算器\MY\StdAfx.cpp
文件 1054 2012-05-09 17:43 VC计算器\MY\StdAfx.h
目录 0 2012-05-10 17:57 VC计算器\MY\Debug
目录 0 2012-05-10 15:04 VC计算器\MY\Release
............此处省略6个文件信息
相关资源
- VC++ 多线程文件读写操作
- 移木块游戏,可以自编自玩,vc6.0编写
- VC++MFC小游戏实例教程(实例)+MFC类库
- VC++实现CMD命令执行与获得返回信息
- VC++基于OpenGL模拟的一个3维空间模型
- 基于VC++的SolidWorks二次开发SolidWorks
- 派克变换VC++源码(附文档)
- VC++ 串口
- VC++ 大富翁4_大富翁游戏源码
- VC++ 摄像头视频采集与回放源程序
- 转 VC++ 实现电子邮件(Email)发送
- 基于MFC的VC++仿QQ浏览器源码(雏形)
- VC++ 服务程序编写及安装与卸载
- VC++6.0番茄西红柿VAXvirsual assist X完美破
- 基于改进的fcm算法的图像分割vc++
- VC++6.0 绿色版,免安装,非常好用。
- Microsoft Visual C++ 2005 Redistributable Pack
- VC++MFC课程设计的学生成绩管理系统
- 大智慧365DLL插件设计
- VC++6.0汉化包
- VC++完整商业界面源码(再上传)
- VC++编程技术600个大型项目源码.rar
- VC++实现RSA加密算法
- VC++ 中国象棋经典游戏源代码
- 郁金香VC++游戏辅助视频教程
- C语言进阶源码---基于graphics实现图书
- 摄影测量相对定向VC++程序
- VC++数字图像处理典型算法及实现
- VC++酒店客房管理系统 MFC
- 车站计算机联锁vc++6.0程序代码
评论
共有 条评论