资源简介
本仿真电梯采用面向对象的设计思想,基于MFC,功能比较强大,算法逻辑比较清晰。仿真电梯可以完成各楼层的请求,界面美观,实现电梯上下,电梯门的动态开关。

代码片段和文件信息
// Elevator.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Elevator.h“
#include “ElevatorDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CElevatorApp
BEGIN_MESSAGE_MAP(CElevatorApp CWinApp)
//{{AFX_MSG_MAP(CElevatorApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CElevatorApp construction
CElevatorApp::CElevatorApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CElevatorApp object
CElevatorApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CElevatorApp initialization
BOOL CElevatorApp::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
CElevatorDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-03-21 14:44 计103叶先泽报告\
文件 30720 2013-03-15 15:29 计103叶先泽报告\1 封面.doc
文件 40448 2013-03-15 15:25 计103叶先泽报告\2 任务书.doc
文件 413696 2013-03-21 14:18 计103叶先泽报告\3 报告正文.doc
文件 40448 2013-03-15 15:26 计103叶先泽报告\4 教师评语及量化评分.doc
目录 0 2013-03-21 14:45 计103叶先泽源程序\
目录 0 2013-03-21 14:45 计103叶先泽源程序\Elevator\
目录 0 2013-03-21 14:45 计103叶先泽源程序\Elevator\Debug\
文件 3712000 2013-03-08 14:53 计103叶先泽源程序\Elevator\Debug\Elevator.bsc
文件 1134674 2013-03-21 13:34 计103叶先泽源程序\Elevator\Debug\Elevator.exe
文件 306672 2013-03-21 13:34 计103叶先泽源程序\Elevator\Debug\Elevator.ilk
文件 12678 2013-03-21 12:47 计103叶先泽源程序\Elevator\Debug\Elevator.obj
文件 7060624 2013-03-20 22:33 计103叶先泽源程序\Elevator\Debug\Elevator.pch
文件 443392 2013-03-21 13:06 计103叶先泽源程序\Elevator\Debug\Elevator.pdb
文件 833968 2013-03-20 22:33 计103叶先泽源程序\Elevator\Debug\Elevator.res
文件 7211 2013-03-21 12:47 计103叶先泽源程序\Elevator\Debug\Elevator.sbr
文件 76900 2013-03-21 13:50 计103叶先泽源程序\Elevator\Debug\ElevatorDlg.obj
文件 20070 2013-03-21 13:50 计103叶先泽源程序\Elevator\Debug\ElevatorDlg.sbr
文件 24612 2013-03-21 13:34 计103叶先泽源程序\Elevator\Debug\MyButton.obj
文件 6115 2013-03-21 13:34 计103叶先泽源程序\Elevator\Debug\MyButton.sbr
文件 9190 2013-03-21 12:47 计103叶先泽源程序\Elevator\Debug\MyElevator.obj
文件 9015 2013-03-21 12:47 计103叶先泽源程序\Elevator\Debug\MyElevator.sbr
文件 6728 2013-03-20 22:33 计103叶先泽源程序\Elevator\Debug\PlanQuene.obj
文件 3149 2013-03-20 22:33 计103叶先泽源程序\Elevator\Debug\PlanQuene.sbr
文件 106804 2013-03-20 22:33 计103叶先泽源程序\Elevator\Debug\StdAfx.obj
文件 1383603 2013-03-20 22:33 计103叶先泽源程序\Elevator\Debug\StdAfx.sbr
文件 205824 2013-03-21 13:50 计103叶先泽源程序\Elevator\Debug\vc60.idb
文件 364544 2013-03-21 13:06 计103叶先泽源程序\Elevator\Debug\vc60.pdb
文件 854504 2013-03-20 08:21 计103叶先泽源程序\Elevator\Elevator.aps
文件 3593 2013-03-21 14:41 计103叶先泽源程序\Elevator\Elevator.clw
文件 2091 2013-03-07 09:12 计103叶先泽源程序\Elevator\Elevator.cpp
............此处省略29个文件信息
相关资源
- 基于mfc的多线程文件传输
- VC++ 多线程文件读写操作
- 移木块游戏,可以自编自玩,vc6.0编写
- MFC数字钟(基于VC6.0)
- 安科瑞智能电能表MODBUS通讯程序 VC6
- VC++MFC小游戏实例教程(实例)+MFC类库
- VC6LineNumberAddin.dll
- 用VC6.0实现多边形扫描线填充算法
- VC++实现CMD命令执行与获得返回信息
- VC助手 VC6.0助手
- ChartCtrl控件库(可在VS2019中使用)
- 商品库存管理系统 C++ MFC
- 51单片机数码管四层电梯模拟系统
- mfc 调用redis
- MFC视频播放器源码(支持avi/wma/mp3等格
- VC++基于OpenGL模拟的一个3维空间模型
- mfc绘图大全(画直线、矩形、椭圆)
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- 基于VC++的SolidWorks二次开发SolidWorks
- VC6 USB开发源码
- MFC文档_视图_框架_模板结构体系深入
- 简单员工管理系统(适合初学MFC)
- VC操作SQLSERVER数据库
- aes加解密(vc源程序)
- vc_串口通讯
- 吕鑫vc6c++数据结构视频源码
- 派克变换VC++源码(附文档)
- 基于opencv漫水填充算法综合
评论
共有 条评论