資源簡介
用VC++6.0寫出來的掃雷,實現(xiàn)了基本的游戲功能,小伙伴們在動手寫的時候可以進行參考~有改進的地方歡迎一起討論~

代碼片段和文件信息
//?GAMESIZE.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“SaoLei.h“
#include?“GAMESIZE.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?GAMESIZE?dialog
GAMESIZE?a;
GAMESIZE::GAMESIZE(CWnd*?pParent?/*=NULL*/)
:?CDialog(GAMESIZE::IDD?pParent)
{
//{{AFX_DATA_INIT(GAMESIZE)
m_length?=?10;
m_number?=?10;
m_width?=?10;
//}}AFX_DATA_INIT
}
void?GAMESIZE::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(GAMESIZE)
DDX_Text(pDX?IDC_L?m_length);
DDX_Text(pDX?IDC_N?m_number);
DDX_Text(pDX?IDC_W?m_width);
a.m_length?=?m_length;
a.m_width?=?m_width;
a.m_number?=?m_number;
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(GAMESIZE?CDialog)
//{{AFX_MSG_MAP(GAMESIZE)
//?NOTE:?the?ClassWizard?will?add?message?map?macros?here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?GAMESIZE?message?handlers
int?GAMESIZE::DoModal()
{
//?TODO:?Add?your?specialized?code?here?and/or?call?the?base?class
return?CDialog::DoModal();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-09-19?16:36??SaoLei\
?????目錄???????????0??2017-09-19?16:36??SaoLei\Debug\
?????文件???????13006??2016-06-14?18:42??SaoLei\Debug\GAMESIZE.obj
?????文件????????2911??2016-06-14?18:42??SaoLei\Debug\GAMESIZE.sbr
?????文件???????25670??2016-06-14?18:42??SaoLei\Debug\HIGHSCORE.obj
?????文件??????223425??2016-06-14?18:42??SaoLei\Debug\HIGHSCORE.sbr
?????文件???????18435??2016-06-14?18:42??SaoLei\Debug\MainFrm.obj
?????文件????????3883??2016-06-14?18:42??SaoLei\Debug\MainFrm.sbr
?????文件???????14426??2016-06-14?18:42??SaoLei\Debug\SETNAME.obj
?????文件????????2717??2016-06-14?18:42??SaoLei\Debug\SETNAME.sbr
?????文件??????188480??2016-06-14?18:42??SaoLei\Debug\SaoLei.exe
?????文件??????345092??2016-06-14?18:42??SaoLei\Debug\SaoLei.ilk
?????文件???????25450??2016-06-14?18:42??SaoLei\Debug\SaoLei.obj
?????文件?????6869428??2016-06-14?18:42??SaoLei\Debug\SaoLei.pch
?????文件??????377856??2016-06-14?18:42??SaoLei\Debug\SaoLei.pdb
?????文件???????29704??2016-06-14?18:41??SaoLei\Debug\SaoLei.res
?????文件????????8613??2016-06-14?18:42??SaoLei\Debug\SaoLei.sbr
?????文件???????14686??2016-06-14?18:42??SaoLei\Debug\SaoLeiDoc.obj
?????文件????????3548??2016-06-14?18:42??SaoLei\Debug\SaoLeiDoc.sbr
?????文件???????98039??2016-06-14?18:42??SaoLei\Debug\SaoLeiView.obj
?????文件???????26746??2016-06-14?18:42??SaoLei\Debug\SaoLeiView.sbr
?????文件??????105603??2016-06-14?18:42??SaoLei\Debug\StdAfx.obj
?????文件?????1374962??2016-06-14?18:42??SaoLei\Debug\StdAfx.sbr
?????文件??????246784??2016-06-18?10:58??SaoLei\Debug\vc60.idb
?????文件??????454656??2016-06-14?18:42??SaoLei\Debug\vc60.pdb
?????文件????????1243??2016-06-13?23:58??SaoLei\GAMESIZE.cpp
?????文件????????1260??2016-06-07?14:53??SaoLei\GAMESIZE.h
?????文件????????2465??2016-06-13?23:58??SaoLei\HIGHSCORE.cpp
?????文件????????1439??2016-06-09?20:32??SaoLei\HIGHSCORE.h
?????文件????????1849??2016-06-14?00:01??SaoLei\MainFrm.cpp
?????文件????????1581??2016-05-30?14:03??SaoLei\MainFrm.h
............此處省略46個文件信息
- 上一篇:區(qū)域生長法VS實現(xiàn)。C++
- 下一篇:KNN算法C++
評論
共有 條評論