资源简介
MFC 实现的操作系统的银行家算法 用于解决资源分配问题,核心算法是回溯法

代码片段和文件信息
// BankArthmatic.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “BankArthmatic.h“
#include “BankArthmaticDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBankArthmaticApp
BEGIN_MESSAGE_MAP(CBankArthmaticApp CWinApp)
//{{AFX_MSG_MAP(CBankArthmaticApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CBankArthmaticApp construction
CBankArthmaticApp::CBankArthmaticApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CBankArthmaticApp object
CBankArthmaticApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CBankArthmaticApp initialization
BOOL CBankArthmaticApp::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
CBankArthmaticDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2161 2008-04-23 23:55 复件 BankArthmatic\BankArthmatic.cpp
文件 4782 2008-04-28 16:54 复件 BankArthmatic\BankArthmatic.dsp
文件 551 2008-04-23 23:55 复件 BankArthmatic\BankArthmatic.dsw
文件 1401 2008-04-23 23:55 复件 BankArthmatic\BankArthmatic.h
文件 197632 2008-05-07 23:28 复件 BankArthmatic\BankArthmatic.ncb
文件 57856 2008-05-07 23:28 复件 BankArthmatic\BankArthmatic.opt
文件 1112 2008-05-05 18:37 复件 BankArthmatic\BankArthmatic.plg
文件 6485 2008-04-29 22:04 复件 BankArthmatic\BankArthmatic.rc
文件 11916 2008-04-28 17:44 复件 BankArthmatic\BankArthmaticDlg.cpp
文件 1837 2008-04-28 17:18 复件 BankArthmatic\BankArthmaticDlg.h
文件 127063 2008-05-05 18:37 复件 BankArthmatic\Debug\BankArthmatic.exe
文件 13340 2008-04-28 17:18 复件 BankArthmatic\Debug\BankArthmatic.obj
文件 427008 2008-05-05 18:37 复件 BankArthmatic\Debug\BankArthmatic.pdb
文件 3236 2008-05-05 18:37 复件 BankArthmatic\Debug\BankArthmatic.res
文件 45471 2008-04-28 17:44 复件 BankArthmatic\Debug\BankArthmaticDlg.obj
文件 9777 2008-04-28 16:32 复件 BankArthmatic\Debug\LQueue.obj
文件 9640 2008-04-28 16:32 复件 BankArthmatic\Debug\LStack.obj
文件 12374 2008-05-05 18:20 复件 BankArthmatic\Debug\RCa02516
文件 105616 2008-04-28 16:32 复件 BankArthmatic\Debug\StdAfx.obj
文件 364544 2008-04-29 22:03 复件 BankArthmatic\Debug\vc60.pdb
文件 11064 2008-04-28 16:32 复件 BankArthmatic\Debug\work.obj
文件 19343 2008-04-29 22:03 复件 BankArthmatic\Debug\WorkStudio.obj
目录 0 2008-08-21 20:27 复件 BankArthmatic\Debug
文件 1538 2008-04-23 23:55 复件 BankArthmatic\LQueue.cpp
文件 654 2008-04-23 23:55 复件 BankArthmatic\LQueue.h
文件 1273 2008-04-23 23:55 复件 BankArthmatic\LStack.cpp
文件 705 2008-04-23 23:55 复件 BankArthmatic\LStack.h
文件 3705 2008-04-23 23:55 复件 BankArthmatic\ReadMe.txt
文件 1078 2008-04-18 23:40 复件 BankArthmatic\res\BankArthmatic.ico
文件 405 2008-04-18 23:40 复件 BankArthmatic\res\BankArthmatic.rc2
............此处省略12个文件信息
相关资源
- 基于mfc的多线程文件传输
- MFC数字钟(基于VC6.0)
- VC++MFC小游戏实例教程(实例)+MFC类库
- ChartCtrl控件库(可在VS2019中使用)
- 商品库存管理系统 C++ MFC
- 安卓c语言开发SDL2+opengles
- 人脸识别(opencv_facedetect_v4l2)
- 颜色识别形状识别STM103嵌入式代码
- openwrt深入学习笔记
- mfc 调用redis
- MFC视频播放器源码(支持avi/wma/mp3等格
- 基于opencv的模板匹配代码
- 交互式计算机图形学 第六版 OpenGL源代
- VC++基于OpenGL模拟的一个3维空间模型
- mfc绘图大全(画直线、矩形、椭圆)
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- opencv图片扫描以及校正
- opc ua客户端
- opencv手部轮廓识别以及轨迹识别
- MFC文档_视图_框架_模板结构体系深入
- 简单员工管理系统(适合初学MFC)
- opencv2 3D标定.cpp
- 基于opencv漫水填充算法综合
- MFC五子棋游戏
- MFC UDP编程
- MFC的异步网络通讯应用程序
- C++MFC模块讲解,黑发程序员课程整理
- opengl绘制汽车.cpp
评论
共有 条评论