资源简介

八数码实现的游戏,有图形界面(c++) 可以下来看一下

资源截图

代码片段和文件信息

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

#include “stdafx.h“
#include “ai2.h“
#include “ai2Dlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CAi2App

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

/////////////////////////////////////////////////////////////////////////////
// CAi2App construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CAi2App object

CAi2App theApp;

/////////////////////////////////////////////////////////////////////////////
// CAi2App initialization

BOOL CAi2App::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

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

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

     文件      21696  2008-11-18 19:27  自动拼图作业\ai2.aps

     文件       1553  2008-11-18 19:29  自动拼图作业\ai2.clw

     文件       2021  2007-12-06 15:42  自动拼图作业\ai2.cpp

     文件       4105  2007-12-06 15:42  自动拼图作业\ai2.dsp

     文件        529  2007-12-06 15:42  自动拼图作业\ai2.dsw

     文件       1291  2007-12-06 15:42  自动拼图作业\ai2.h

     文件      74752  2008-11-18 19:29  自动拼图作业\ai2.ncb

     文件      49664  2008-11-18 19:29  自动拼图作业\ai2.opt

     文件       1532  2008-11-18 19:28  自动拼图作业\ai2.plg

     文件       6067  2008-01-22 16:00  自动拼图作业\ai2.rc

     文件      11769  2007-12-09 18:09  自动拼图作业\ai2Dlg.cpp

     文件       1390  2007-12-06 19:33  自动拼图作业\ai2Dlg.h

     文件       1342  2008-11-18 19:29  自动拼图作业\log.txt

     文件       3525  2007-12-06 15:42  自动拼图作业\ReadMe.txt

     文件      32768  2008-11-18 19:28  自动拼图作业\Release\ai2.exe

     文件       9328  2008-11-18 19:28  自动拼图作业\Release\ai2.obj

     文件    5683396  2008-11-18 19:28  自动拼图作业\Release\ai2.pch

     文件       3268  2008-11-18 19:28  自动拼图作业\Release\ai2.res

     文件      49099  2008-11-18 19:28  自动拼图作业\Release\ai2Dlg.obj

     文件        768  2008-11-18 19:28  自动拼图作业\Release\StdAfx.obj

     文件      58368  2008-11-18 19:29  自动拼图作业\Release\vc60.idb

     文件       1078  2007-12-06 15:42  自动拼图作业\res\ai2.ico

     文件        395  2007-12-06 15:42  自动拼图作业\res\ai2.rc2

    ..A.SH.      3072  2007-12-06 21:11  自动拼图作业\res\Thumbs.db

     文件       1233  2007-12-06 21:01  自动拼图作业\resource.h

     文件        205  2007-12-06 15:42  自动拼图作业\StdAfx.cpp

     文件       1054  2007-12-06 15:42  自动拼图作业\StdAfx.h

     目录          0  2008-11-18 19:28  自动拼图作业\Release

     目录          0  2007-12-09 18:30  自动拼图作业\res

     目录          0  2008-11-18 19:29  自动拼图作业

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

评论

共有 条评论