-
大小: 6.57MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-09-27
- 语言: C/C++
- 标签: 人工智能 alpha-beta 剪枝法 五子棋
资源简介
========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : fir
========================================================================
AppWizard has created this fir 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 fir application.
fir.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.
fir.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CFirApp application class.
fir.cpp
This is the main application source file that contains the application
class CFirApp.
fir.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++.
fir.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\fir.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file fir.rc.
res\fir.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,
代码片段和文件信息
// fir.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “fir.h“
#include “MainFrm.h“
#include “firDoc.h“
#include “firView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFirApp
BEGIN_MESSAGE_MAP(CFirApp CWinApp)
//{{AFX_MSG_MAP(CFirApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFirApp construction
CFirApp::CFirApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CFirApp object
CFirApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CFirApp initialization
BOOL CFirApp::InitInstance()
{
// 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
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(1); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CFirDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CFirView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-10-07 16:04 fir-v0.8\
目录 0 2017-10-07 15:51 fir-v0.8\Debug\
文件 16164 2017-10-07 15:51 fir-v0.8\Debug\MainFrm.obj
文件 0 2017-10-07 15:06 fir-v0.8\Debug\MainFrm.sbr
文件 15606 2017-10-07 15:22 fir-v0.8\Debug\RCa00236
文件 15606 2017-10-07 15:22 fir-v0.8\Debug\RCa10668
文件 105705 2017-10-07 15:25 fir-v0.8\Debug\StdAfx.obj
文件 1364460 2017-10-07 15:06 fir-v0.8\Debug\StdAfx.sbr
文件 4817920 2017-10-07 15:02 fir-v0.8\Debug\fir.bsc
文件 188486 2017-10-07 15:51 fir-v0.8\Debug\fir.exe
文件 317832 2017-10-07 15:51 fir-v0.8\Debug\fir.ilk
文件 22626 2017-10-07 15:51 fir-v0.8\Debug\fir.obj
文件 5485144 2017-10-07 15:25 fir-v0.8\Debug\fir.pch
文件 336896 2017-10-07 15:51 fir-v0.8\Debug\fir.pdb
文件 55328 2017-10-07 15:51 fir-v0.8\Debug\fir.res
文件 0 2017-10-07 15:06 fir-v0.8\Debug\fir.sbr
文件 14590 2017-10-07 15:25 fir-v0.8\Debug\firDoc.obj
文件 0 2017-10-07 15:06 fir-v0.8\Debug\firDoc.sbr
文件 54265 2017-10-07 15:25 fir-v0.8\Debug\firView.obj
文件 0 2017-10-07 15:06 fir-v0.8\Debug\firView.sbr
文件 214016 2017-10-07 15:51 fir-v0.8\Debug\vc60.idb
文件 364544 2017-10-07 15:51 fir-v0.8\Debug\vc60.pdb
文件 1376335 2017-10-07 15:06 fir-v0.8\Debug\剪枝法五子棋.exe
文件 1742 2017-10-07 16:03 fir-v0.8\MainFrm.cpp
文件 1438 2017-10-07 15:46 fir-v0.8\MainFrm.h
文件 3927 2009-10-15 23:16 fir-v0.8\ReadMe.txt
目录 0 2017-10-07 16:04 fir-v0.8\Release\
文件 10984 2017-10-07 16:04 fir-v0.8\Release\MainFrm.obj
文件 768 2017-10-07 16:04 fir-v0.8\Release\StdAfx.obj
文件 86016 2017-10-07 16:04 fir-v0.8\Release\fir.exe
文件 15919 2017-10-07 16:04 fir-v0.8\Release\fir.obj
............此处省略27个文件信息
相关资源
- 动物识别系统MFC)
- 九宫格程序c++人工智能
- K210使用情况指南以及测试情况
- 人工智能归结反演c++代码
- 人工智能 A算法 九宫格 启发式搜索
- C++实现的人脸识别系统
- Othello黑白棋游戏与AI
- 人工智能的贪食蛇
- Alpha-Beta剪枝算法一字棋源码及实验报
- VC2008 MFC 五子棋 源码 人机对弈 游戏
- 人工智能 A*算法 八数码问题 C++ 报告
- 邮票问题C语言源码
- 人工智能——水壶问题
- 人工智能之动物识别C语言
- 人工智能,五子棋,人工智能,代码
- 人工智能 八数码问题 A*算法 C语言
- 八数码游戏程序人工智能,c++
- 从广度优先搜索深度优先搜索A*算法多
- 人工智能专家系统C语言版
- 人工智能实验报告以及C语言源程序
- 八数码的深度优先算法c++实现
- 人工智能旅行商问题实验报告及C++源
- 数据挖掘中的Apriori算法(C语言版)
- 人工智能代价树的广度优先搜索
- 0-1背包问题C语言源码
- 八数码问题A算法解决
- VC 七巧板 人工智能
- 启发式搜索解决八数码问题
- 产生式系统反向推理算法的设计与实
- 罗马尼亚度假问题MFC实现
评论
共有 条评论