资源简介
著名人工智能程序,agent技术的应用,别当做作业交上去啊,同学们。
代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “stdafx.h“
#include “Wumpus.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
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 0 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\MyStatic.sbr
文件 105954 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\StdAfx.obj
文件 1375064 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\StdAfx.sbr
文件 205824 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\vc60.idb
文件 372736 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\vc60.pdb
文件 3138560 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\Wumpus.bsc
文件 15419 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\Wumpus.obj
文件 6943744 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\Wumpus.pch
文件 12924 2010-11-27 14:17 1a89e074fe7d\Wumpus\Debug\Wumpus.res
文件 0 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\Wumpus.sbr
文件 0 2010-11-27 14:21 1a89e074fe7d\Wumpus\Debug\WumpusDlg.sbr
文件 2507 2006-03-08 23:55 1a89e074fe7d\Wumpus\MainFrm.cpp
文件 1581 2006-03-08 23:55 1a89e074fe7d\Wumpus\MainFrm.h
文件 897 2006-03-19 15:52 1a89e074fe7d\Wumpus\MyStatic.cpp
文件 1169 2006-03-19 15:39 1a89e074fe7d\Wumpus\MyStatic.h
文件 3579 2006-03-16 20:11 1a89e074fe7d\Wumpus\ReadMe.txt
文件 2102 2006-03-16 22:36 1a89e074fe7d\Wumpus\res\bitmap1.bmp
文件 2102 2006-03-16 22:29 1a89e074fe7d\Wumpus\res\gold.bmp
文件 2102 2006-03-16 22:29 1a89e074fe7d\Wumpus\res\hero_down.bmp
文件 2102 2006-03-16 22:29 1a89e074fe7d\Wumpus\res\pit.bmp
..A.SH. 15872 2006-03-16 15:46 1a89e074fe7d\Wumpus\res\Thumbs.db
文件 718 2006-03-13 19:42 1a89e074fe7d\Wumpus\res\Toolbar.bmp
文件 238 2006-03-13 19:28 1a89e074fe7d\Wumpus\res\toolbar1.bmp
文件 3126 2006-03-16 22:29 1a89e074fe7d\Wumpus\res\wumpus.bmp
文件 1078 2006-03-16 20:11 1a89e074fe7d\Wumpus\res\Wumpus.ico
文件 398 2006-03-16 20:11 1a89e074fe7d\Wumpus\res\Wumpus.rc2
文件 1078 2006-03-08 23:55 1a89e074fe7d\Wumpus\res\WumpusDoc.ico
文件 1508 2006-03-16 22:36 1a89e074fe7d\Wumpus\resource.h
文件 165 2006-03-14 16:13 1a89e074fe7d\Wumpus\resource.hm
文件 208 2006-03-16 20:11 1a89e074fe7d\Wumpus\StdAfx.cpp
............此处省略30个文件信息
- 上一篇:VC++实现两台电脑文件传输(源代码)
- 下一篇:C++&easyx;的坦克大战
相关资源
- 数字电位器C语言程序
- 通信过程中的RS编译码程序(c语言)
- 简单的C语言点对点聊天程序
- 单片机c语言源程序(51定时器 八个按
- 将图片转换为C语言数组的程序
- 安科瑞智能电能表MODBUS通讯程序 VC6
- C语言实现的一个内存泄漏检测程序
- 用单片机控制蜂鸣器播放旋律程序(
- 电子时钟 有C语言程序,PROTEUS仿真图
- 基于C语言的密码锁程序
- c语言小学生自然数四则运算测试程序
- c语言程序设计报告 程序大全
- 文件传输和聊天程序(c语言实现)
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- 《Linux程序设计》第四版pdf高清电子版
- 使用wxWidgets进行跨平台程序开发
- 基于Arduino的MLX90614温度采集程序
- ADS1263驱动程序+电路图
- 程序案例 利用LabVIEW实现串口通讯
- 物联网GPS跟踪器demo程序
- STM32(神舟III号 串口1发送实验程序)
- STM32429的串口收发程序
- AD5328驱动程序
- PCA9539驱动程序
- ADS1256-STM32参考程序
- Arduino 敲琴MIDI电子琴 程序报告.docx
- 基于arduino的红绿灯程序,包附原理图
- stm32的半导体除湿机程序
- 单片机程序(附初级、中级、高级共
川公网安备 51152502000135号
评论
共有 条评论