资源简介
以图形界面来描述八皇后,可以自行设置行列数
数据结构课程设计必备!
代码片段和文件信息
// EightQueen.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “EightQueen.h“
#include “EightQueenDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEightQueenApp
BEGIN_MESSAGE_MAP(CEightQueenApp CWinApp)
//{{AFX_MSG_MAP(CEightQueenApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEightQueenApp construction
CEightQueenApp::CEightQueenApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CEightQueenApp object
CEightQueenApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CEightQueenApp initialization
BOOL CEightQueenApp::InitInstance()
{
AfxEnableControlContainer();
// 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
CEightQueenDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 168 2006-03-21 15:14 944q\ASP300使用注意.url
文件 36440 2005-06-22 23:46 944q\www.cnzz.cn\EightQueen.aps
文件 1732 2005-06-22 23:49 944q\www.cnzz.cn\EightQueen.clw
文件 2119 2005-06-19 11:34 944q\www.cnzz.cn\EightQueen.cpp
文件 4426 2005-06-22 17:03 944q\www.cnzz.cn\EightQueen.dsp
文件 543 2005-06-19 16:17 944q\www.cnzz.cn\EightQueen.dsw
文件 1368 2005-06-19 11:34 944q\www.cnzz.cn\EightQueen.h
文件 132096 2005-06-22 23:49 944q\www.cnzz.cn\EightQueen.ncb
文件 54784 2005-06-22 23:49 944q\www.cnzz.cn\EightQueen.opt
文件 1362 2005-06-22 23:48 944q\www.cnzz.cn\EightQueen.plg
文件 6067 2005-06-22 23:46 944q\www.cnzz.cn\EightQueen.rc
文件 11395 2005-06-22 23:45 944q\www.cnzz.cn\EightQueenDlg.cpp
文件 2188 2005-06-22 23:41 944q\www.cnzz.cn\EightQueenDlg.h
文件 3852 2005-06-22 23:48 944q\www.cnzz.cn\QueenPanel.cpp
文件 1329 2005-06-22 16:52 944q\www.cnzz.cn\QueenPanel.h
文件 3651 2005-06-19 11:34 944q\www.cnzz.cn\ReadMe.txt
文件 1078 2005-06-22 16:48 944q\www.cnzz.cn\res\EightQueen.ico
文件 402 2005-06-19 11:34 944q\www.cnzz.cn\res\EightQueen.rc2
文件 1147 2005-06-22 17:04 944q\www.cnzz.cn\Resource.h
文件 212 2005-06-19 11:34 944q\www.cnzz.cn\StdAfx.cpp
文件 1054 2005-06-19 11:34 944q\www.cnzz.cn\StdAfx.h
文件 2250 2005-06-24 13:34 944q\www.cnzz.cn\相关说明.txt
文件 1482 2007-06-08 14:30 944q\拉基源码.txt
文件 67 2004-01-12 03:48 944q\系统说明.txt
目录 0 2005-06-22 21:28 944q\www.cnzz.cn\res
目录 0 2005-06-25 03:03 944q\www.cnzz.cn
目录 0 2007-08-07 05:50 944q
----------- --------- ---------- ----- ----
271212 27
............此处省略0个文件信息
相关资源
- 用回溯法解决八皇后问题C语言实现
- 使用wxWidgets进行跨平台程序开发
- QT视频播放器(基于FFmpeg)
- qt处理图形
- basler相机图像采集和显示
- 交互式计算机图形学 第六版 OpenGL源代
- 图形学简单绘图系统
- 基于ege图形的推箱子游戏
- OpenGL迷宫山东大学图形学实验三
- 图书信息管理系统 vs 图形界面
- C++时钟easyx实现
- mfc绘制任意图形,实现图形按比例缩
- MFC画图板,可以画一些基本图形,如
- MFC图形编程教程,有各种绘图
- 八皇后程序源码(MFC)
- C++ 五子棋游戏 图形界面
- MFC 圆弧算法的实现
- 计算机图形学走样反走样时钟
- 约瑟夫环问题图形界面展示
- C++图形系统实现俄罗斯方块小游戏
- c++QT5图形学-中点画圆完整工程文件
- 用C++使用SDL库编写的俄罗斯方块游戏
- C语言 vs2013+easyX 实现推箱子小游戏
- 西北工业大学软件学院计算机图形学
- 计算机图形学实验源代码中南民族大
- 经典图形控件TeeChart8(内含最全的帮
- MFC绘制的移动小车,包含了图形的平
- 使用MFC实现真实感图形绘制
- 图形学各种曲线--Bezier曲线,B-样条曲
- 鼠标交互画圆及椭圆基于Bresenham、中
川公网安备 51152502000135号
评论
共有 条评论