资源简介

操作系统课程设计 哲学家进餐问题(完整C++/MFC源代码+可运行程序+论文)

资源截图

代码片段和文件信息

// eating.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “eating.h“
#include “eatingDlg.h“
#include “SkinPlusPlus.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CEatingApp

BEGIN_MESSAGE_MAP(CEatingApp CWinApp)
//{{AFX_MSG_MAP(CEatingApp)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CEatingApp construction

CEatingApp::CEatingApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CEatingApp object

CEatingApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CEatingApp initialization

BOOL CEatingApp::InitInstance()
{
AfxEnableControlContainer();



#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

InitializeSkin(_T(“Minimized.ssk“));

CEatingDlg 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;
}

int CEatingApp::ExitInstance() 
{
ExitSkin();
return CWinApp::ExitInstance();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     159827  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\eating.exe

     文件     329540  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\eating.ilk

     文件      16169  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\eating.obj

     文件    5499648  2009-04-15 18:40  操作系统 吴基钦 200507063\operator system\Debug\eating.pch

     文件     427008  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\eating.pdb

     文件      39776  2009-04-15 18:40  操作系统 吴基钦 200507063\operator system\Debug\eating.res

     文件      42121  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\eatingDlg.obj

     文件      27903  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\GradientStatic.obj

     文件      10291  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\SpecialDlg.obj

     文件     105741  2009-04-15 18:40  操作系统 吴基钦 200507063\operator system\Debug\StdAfx.obj

     文件     205824  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\vc60.idb

     文件     364544  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\Debug\vc60.pdb

     文件      74240  2009-04-15 18:37  操作系统 吴基钦 200507063\operator system\eating.aps

     文件       1439  2009-04-15 18:37  操作系统 吴基钦 200507063\operator system\eating.clw

     文件       1998  2009-08-28 23:10  操作系统 吴基钦 200507063\operator system\eating.cpp

     文件       5309  2009-04-15 18:39  操作系统 吴基钦 200507063\operator system\eating.dsp

     文件        535  2004-06-03 23:43  操作系统 吴基钦 200507063\operator system\eating.dsw

     文件       1354  2009-08-28 23:10  操作系统 吴基钦 200507063\operator system\eating.h

     文件     189440  2009-04-15 21:59  操作系统 吴基钦 200507063\operator system\eating.ncb

     文件      72704  2009-04-15 21:59  操作系统 吴基钦 200507063\operator system\eating.opt

     文件       1544  2009-04-15 21:17  操作系统 吴基钦 200507063\operator system\eating.plg

     文件       5884  2009-04-15 18:39  操作系统 吴基钦 200507063\operator system\eating.rc

     文件       9380  2009-08-29 11:55  操作系统 吴基钦 200507063\operator system\eatingDlg.cpp

     文件       1833  2009-08-28 22:37  操作系统 吴基钦 200507063\operator system\eatingDlg.h

     文件        667  2004-06-06 16:25  操作系统 吴基钦 200507063\operator system\eatingStruct.h

     文件       3149  2009-08-28 23:22  操作系统 吴基钦 200507063\operator system\GradientStatic.cpp

     文件       2299  2009-08-28 22:57  操作系统 吴基钦 200507063\operator system\GradientStatic.h

     文件         93  2004-06-05 20:51  操作系统 吴基钦 200507063\operator system\g_variable.h

     文件     210757  2004-07-06 08:58  操作系统 吴基钦 200507063\operator system\Minimized.ssk

     文件       3579  2004-06-03 23:43  操作系统 吴基钦 200507063\operator system\ReadMe.txt

............此处省略39个文件信息

评论

共有 条评论