91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.86MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-27
  • 語言: C/C++
  • 標簽: VC++??黑白棋??

資源簡介

VC++編寫的黑白棋,可實現人人對決,人機對決,自動走棋

資源截圖

代碼片段和文件信息

//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//

#include?“stdafx.h“
#include?“MyApple.h“

#include?“MainFrm.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMainframe

IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)

BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction

CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here

}

CMainframe::~CMainframe()
{
}

int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;

if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}

if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}

//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);

return?0;
}

BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs

//cs.lpszName=“??-迷宮求解-??“;
CRect?rect(00600520);
::AdjustWindowRectEx(&rectcs.styleTRUEcs.dwExstyle);
cs.cx=rect.Width();
cs.cy=rect.Height();
cs.style=WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX;
return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics

#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}

void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}

#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????8862??2009-03-06?22:09??黑白棋\Board.h

?????文件???????1519??2009-03-06?17:49??黑白棋\Cube.h

?????文件??????19889??2010-08-29?01:01??黑白棋\Debug\MainFrm.obj

?????文件???????3673??2010-08-29?01:01??黑白棋\Debug\MainFrm.sbr

?????文件??????12110??2010-08-29?01:01??黑白棋\Debug\MessageDlg.obj

?????文件???????2218??2010-08-29?01:01??黑白棋\Debug\MessageDlg.sbr

?????文件?????200749??2010-09-21?10:48??黑白棋\Debug\MyApple.exe

?????文件?????370704??2010-09-21?10:48??黑白棋\Debug\MyApple.ilk

?????文件??????23370??2010-08-29?10:58??黑白棋\Debug\MyApple.obj

?????文件????6867444??2010-08-29?01:01??黑白棋\Debug\MyApple.pch

?????文件?????476160??2010-09-21?10:48??黑白棋\Debug\MyApple.pdb

?????文件??????55732??2010-09-21?10:48??黑白棋\Debug\MyApple.res

?????文件??????22067??2010-08-29?10:58??黑白棋\Debug\MyApple.sbr

?????文件??????14422??2010-08-29?01:01??黑白棋\Debug\MyAppleDoc.obj

?????文件???????3058??2010-08-29?01:01??黑白棋\Debug\MyAppleDoc.sbr

?????文件?????102028??2010-08-29?01:01??黑白棋\Debug\MyAppleView.obj

?????文件??????79063??2010-08-29?01:01??黑白棋\Debug\MyAppleView.sbr

?????文件?????105310??2010-08-29?01:01??黑白棋\Debug\StdAfx.obj

?????文件????1369617??2010-08-29?01:01??黑白棋\Debug\StdAfx.sbr

?????文件?????222208??2010-09-21?10:48??黑白棋\Debug\vc60.idb

?????文件?????380928??2010-08-29?01:01??黑白棋\Debug\vc60.pdb

?????文件???????2735??2009-03-06?22:05??黑白棋\MainFrm.cpp

?????文件???????1581??2009-02-26?19:47??黑白棋\MainFrm.h

?????文件????????988??2009-03-04?16:46??黑白棋\MessageDlg.cpp

?????文件???????1227??2009-03-04?16:42??黑白棋\MessageDlg.h

?????文件??????94796??2010-09-21?10:48??黑白棋\MyApple.aps

?????文件???????2472??2010-09-21?10:48??黑白棋\MyApple.clw

?????文件???????4227??2009-02-26?19:47??黑白棋\MyApple.cpp

?????文件???????5777??2009-03-11?09:02??黑白棋\MyApple.dsp

?????文件????????522??2009-02-26?19:56??黑白棋\MyApple.dsw

............此處省略40個文件信息

評論

共有 條評論