========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : programs
========================================================================
AppWizard has created this programs application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your programs application.
programs.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
programs.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CProgramsApp application class.
programs.cpp
This is the main application source file that contains the application
class CProgramsApp.
programs.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
programs.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\programs.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file programs.rc.
res\programs.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
programsDoc.h, programsDoc.cpp - the document
These files contain your CProgramsDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CProgramsDoc::Serialize).
programsView.h, programsView.cpp - the view of the document
These files contain your CProgramsView class.
CProgramsView objects are used to view CProgramsDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named programs.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
wuziqi.zip_五子棋 MFC
共85个文件
bmp:15个
h:13个
sbr:11个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 169 浏览量
2022-09-20
21:13:05
上传
评论 1
收藏 6.43MB ZIP 举报
温馨提示
"wuziqi.zip_五子棋 MFC" 涉及的主要知识点是C++编程语言和Microsoft Foundation Class (MFC)库的使用,用于开发一个基础的五子棋游戏,同时具备联网对战功能。MFC是微软提供的一套面向对象的类库,它基于C++构建,用于简化Windows应用程序的开发。 中的信息指出,这个项目是一个简单的五子棋游戏应用,其核心编程语言是C++。C++是一种强大而灵活的编程语言,它支持面向对象编程,广泛应用于系统软件、游戏开发、桌面应用等领域。五子棋游戏的实现需要理解基本的游戏逻辑,包括棋盘的初始化、棋子的放置、胜负判断等规则。 MFC库则为开发者提供了创建用户界面(UI)的工具,如窗口、菜单、按钮等控件,使得开发者可以更专注于游戏逻辑的实现,而非底层UI的细节。在本项目中,MFC被用来构建游戏的图形用户界面,允许玩家进行人机对战或联网对战。联网对战功能意味着项目还涉及到网络编程,可能使用了TCP/IP协议或其他网络通信技术,以实现实时的数据传输,让两个玩家可以在线上进行游戏。 然而,描述中提到的不足之处是该项目没有包含智能电脑设计模块,这意味着游戏中没有内置的人工智能对手。通常,这样的模块会利用搜索算法(如Minimax算法或Alpha-Beta剪枝)来模拟对手的决策,为单人模式提供挑战。这为未来的改进提供了空间,例如可以添加深度学习模型来提升AI的棋艺。 综合来看,"wuziqi.zip_五子棋 MFC"这个项目涵盖了C++编程、MFC界面设计、网络编程以及游戏逻辑实现等多个IT领域的知识点。对于学习者而言,通过分析和修改这个项目,不仅可以深化对C++和MFC的理解,还能接触到网络通信和游戏AI设计,是提高技能的好素材。
资源详情
资源评论
资源推荐
收起资源包目录
wuziqi.zip (85个子文件)
五子棋
Dig.cpp 2KB
programs.dsw 541B
Computer.cpp 620B
programs.plg 250B
res
选中空格副本.bmp 2KB
开始副本.bmp 23KB
黑子副本1.bmp 2KB
programs.rc2 400B
选中白子副本.bmp 2KB
选中黑子副本.bmp 2KB
选中白子.bmp 2KB
白子副本.bmp 2KB
选中黑子.bmp 2KB
mask.bmp 170B
白子副本1.bmp 2KB
黑子副本.bmp 2KB
hero.txt 72B
选中空格.bmp 2KB
结束副本.bmp 21KB
score.bmp 85KB
programs.ico 1KB
chessboard.bmp 1.35MB
programsDoc.ico 1KB
Enter.h 1KB
programs.dsp 6KB
programs.h 1KB
programs.aps 1.52MB
programsDoc.cpp 2KB
Ai.h 1KB
Player.h 518B
programs.cpp 4KB
programs.opt 51KB
Enter.cpp 1KB
Managers.cpp 9KB
Dig.h 1KB
programs.ncb 241KB
programsView.cpp 11KB
StdAfx.cpp 294B
MainFrm.cpp 2KB
Chess.cpp 544B
resource.h 2KB
programsDoc.h 1KB
hero.txt 69B
Computer.h 581B
MainFrm.h 1KB
StdAfx.h 1KB
programsView.h 3KB
Player.cpp 473B
Debug
StdAfx.obj 109KB
programs.pdb 473KB
programs.bsc 3.04MB
Dig.obj 14KB
Computer.obj 5KB
Player.sbr 0B
programsView.obj 63KB
Computer.sbr 0B
Chess.obj 4KB
programsView.sbr 0B
Enter.obj 13KB
Dig.sbr 0B
programsDoc.sbr 0B
vc60.idb 217KB
programs.exe 1.93MB
programs.res 1.49MB
五子棋互动1.exe 1.93MB
StdAfx.sbr 1.31MB
MainFrm.sbr 0B
hero.txt 69B
Enter.sbr 0B
vc60.pdb 356KB
programsDoc.obj 14KB
Managers.obj 24KB
programs.ilk 359KB
MainFrm.obj 16KB
Player.obj 2KB
programs.sbr 0B
programs.pch 6.68MB
programs.obj 22KB
Managers.sbr 0B
Chess.sbr 0B
programs.rc 12KB
Chess.h 535B
Managers.h 2KB
programs.clw 3KB
ReadMe.txt 4KB
共 85 条
- 1
APei
- 粉丝: 80
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1