八数码实现的游戏,有图形界面(c++)
可以下来看一下
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 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 自动拼图作业Releaseai2.exe
文件 9328 2008-11-18 19:28 自动拼图作业Releaseai2.obj
文件 5683396 2008-11-18 19:28 自动拼图作业Releaseai2.pch
文件 3268 2008-11-18 19:28 自动拼图作业Releaseai2.res
文件 49099 2008-11-18 19:28 自动拼图作业Releaseai2Dlg.obj
文件 768 2008-11-18 19:28 自动拼图作业ReleaseStdAfx.obj
文件 58368 2008-11-18 19:29 自动拼图作业Releasevc60.idb
文件 1078 2007-12-06 15:42 自动拼图作业
esai2.ico
文件 395 2007-12-06 15:42 自动拼图作业
esai2.rc2
..A.SH. 3072 2007-12-06 21:11 自动拼图作业
esThumbs.db
文件 1233 2007-12-06 21:01 自动拼图作业
esource.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 自动拼图作业
es
目录 0 2008-11-18 19:29 自动拼图作业
............此处省略3个文件信息
// 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 自动拼图作业Releaseai2.exe
文件 9328 2008-11-18 19:28 自动拼图作业Releaseai2.obj
文件 5683396 2008-11-18 19:28 自动拼图作业Releaseai2.pch
文件 3268 2008-11-18 19:28 自动拼图作业Releaseai2.res
文件 49099 2008-11-18 19:28 自动拼图作业Releaseai2Dlg.obj
文件 768 2008-11-18 19:28 自动拼图作业ReleaseStdAfx.obj
文件 58368 2008-11-18 19:29 自动拼图作业Releasevc60.idb
文件 1078 2007-12-06 15:42 自动拼图作业
esai2.ico
文件 395 2007-12-06 15:42 自动拼图作业
esai2.rc2
..A.SH. 3072 2007-12-06 21:11 自动拼图作业
esThumbs.db
文件 1233 2007-12-06 21:01 自动拼图作业
esource.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 自动拼图作业
es
目录 0 2008-11-18 19:29 自动拼图作业
............此处省略3个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)