MFC拼图游戏


MFC拼图游戏 用MFC写的 很简单 想写做游戏的同学可以研究下
资源截图
代码片段和文件信息
// pingtu.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “pingtu.h“
#include “pingtuDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CPingtuApp

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

/////////////////////////////////////////////////////////////////////////////
// CPingtuApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CPingtuApp object

CPingtuApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CPingtuApp initialization

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

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

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

     文件     545334  2012-05-31 22:07  拼图游戏1.bmp

     文件    5423108  2010-01-21 01:40  拼图游戏1.wav

     文件     761919  2012-05-31 22:27  拼图游戏Debugpingtu.exe

     文件     266256  2012-05-31 22:27  拼图游戏Debugpingtu.ilk

     文件      12860  2012-05-31 22:22  拼图游戏Debugpingtu.obj

     文件    5638492  2012-05-31 22:08  拼图游戏Debugpingtu.pch

     文件     361472  2012-05-31 22:27  拼图游戏Debugpingtu.pdb

     文件     547868  2012-05-31 22:27  拼图游戏Debugpingtu.res

     文件      37466  2012-05-31 22:24  拼图游戏DebugpingtuDlg.obj

     文件     105841  2012-05-31 22:08  拼图游戏DebugStdAfx.obj

     文件     214016  2012-05-31 22:27  拼图游戏Debugvc60.idb

     文件     380928  2012-05-31 22:24  拼图游戏Debugvc60.pdb

     文件     962612  2004-02-27 00:00  拼图游戏MFC42D.DLL

     文件     303157  2004-02-27 00:00  拼图游戏MFCD42D.DLL

     文件     827445  2004-02-27 00:00  拼图游戏MFCO42D.DLL

     文件     434252  2004-02-17 00:00  拼图游戏MSVCRTD.DLL

     文件     580908  2012-05-31 22:28  拼图游戏pingtu.aps

     文件       1074  2012-05-31 22:27  拼图游戏pingtu.clw

     文件       2063  2012-04-11 08:16  拼图游戏pingtu.cpp

     文件       4252  2012-04-15 15:51  拼图游戏pingtu.dsp

     文件        520  2012-04-11 08:16  拼图游戏pingtu.dsw

     文件     761906  2012-04-13 14:07  拼图游戏pingtu.exe

     文件       1324  2012-04-11 08:16  拼图游戏pingtu.h

     文件      66560  2012-05-31 22:28  拼图游戏pingtu.ncb

     文件      48640  2012-05-31 22:28  拼图游戏pingtu.opt

     文件        697  2012-05-31 22:27  拼图游戏pingtu.plg

     文件       5345  2012-05-31 22:28  拼图游戏pingtu.rc

     文件       6919  2012-05-31 22:24  拼图游戏pingtuDlg.cpp

     文件       1601  2012-05-31 22:21  拼图游戏pingtuDlg.h

     文件       3579  2012-04-11 08:16  拼图游戏ReadMe.txt

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)