資源簡介
這是一款基于VC6.0環(huán)境的MFC小游戲,操作簡單,代碼也不復雜,希望大家可以學習。
代碼片段和文件信息
//?Chess.cpp:?implementation?of?the?Chess?class.
//
//////////////////////////////////////////////////////////////////////
#include?“stdafx.h“
#include?“program.h“
#include?“Chess.h“
#ifdef?_DEBUG
#undef?THIS_FILE
static?char?THIS_FILE[]=__FILE__;
#define?new?DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////
Chess::Chess()
{
state=0;
step=0;
Color=0;
}
Chess::~Chess()
{
}
Chess::Chess(Chess?&t)
{
this->Color=t.Color;
this->dou=t.dou;
this->image=t.image;
this->state=t.state;
this->step=t.step;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????583??2007-08-17?22:20??program.dsw
?????文件???????1367??2007-08-07?19:03??program.h
?????文件?????312320??2008-02-29?15:52??program.ncb
?????文件??????58880??2008-02-29?15:52??program.opt
?????文件????????999??2008-02-29?15:51??program.plg
?????文件??????10894??2007-08-19?01:08??program.rc
?????文件???????1780??2007-08-10?19:20??programDoc.cpp
?????文件???????1486??2007-08-07?19:03??programDoc.h
?????文件??????22943??2007-08-22?00:11??programView.cpp
?????文件???????3411??2007-08-21?01:28??programView.h
?????文件???????4019??2007-08-07?19:03??ReadMe.txt
?????文件???????1114??2007-08-19?02:59??resource.h
?????文件???????1104??2007-08-19?19:57??roll.swf
?????文件??????16723??2007-08-17?21:56??shockwaveflash.cpp
?????文件???????4911??2007-08-17?22:14??shockwaveflash.h
?????文件????????251??2007-08-09?07:35??StdAfx.cpp
?????文件???????1054??2007-08-07?19:03??StdAfx.h
?????文件??????40960??2007-08-10?10:09??res\Thumbs.db
?????文件????1440056??2007-08-20?18:30??res\background.bmp
?????文件???????4394??2007-08-08?11:31??res\bluemask.bmp
?????文件???????4394??2007-08-08?11:31??res\blueplane.bmp
?????文件????????326??2007-08-19?01:08??res\cursor1.cur
?????文件???????4396??2007-08-08?10:28??res\greenmask.bmp
?????文件???????4396??2007-08-08?10:19??res\greenplane.bmp
?????文件???????1078??2007-08-07?19:03??res\program.ico
?????文件????????399??2007-08-07?19:03??res\program.rc2
?????文件???????1078??2007-08-07?19:03??res\programDoc.ico
?????文件???????4396??2007-08-08?11:29??res\redmask.bmp
?????文件???????4396??2007-08-08?11:29??res\redplane.bmp
?????文件??????33656??2007-08-10?09:24??res\roll.bmp
............此處省略20個文件信息
- 上一篇:C++ 下的打地鼠設計
- 下一篇:MFC ChartCtrl范例和源碼
評論
共有 條評論