资源简介
代码都是编译通过的,自己实验课做的,有关于扫描线种子填充算法和基本的种子填充算法,放心下载,如果有什么问题可以相互交流,我也是小白一个。

代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “stdafx.h“
#include “tiger1.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 2020-04-24 09:04 tiger1\
目录 0 2020-04-24 08:47 tiger1\Debug\
文件 19635 2020-04-23 15:36 tiger1\Debug\MainFrm.obj
文件 105370 2020-04-23 15:36 tiger1\Debug\StdAfx.obj
文件 131118 2020-04-24 08:47 tiger1\Debug\tiger1.exe
文件 325432 2020-04-24 08:47 tiger1\Debug\tiger1.ilk
文件 22662 2020-04-23 15:36 tiger1\Debug\tiger1.obj
文件 5497452 2020-04-23 15:36 tiger1\Debug\tiger1.pch
文件 451584 2020-04-24 08:47 tiger1\Debug\tiger1.pdb
文件 7276 2020-04-23 15:36 tiger1\Debug\tiger1.res
文件 14435 2020-04-23 15:36 tiger1\Debug\tiger1Doc.obj
文件 62411 2020-04-24 08:47 tiger1\Debug\tiger1View.obj
文件 222208 2020-04-24 08:47 tiger1\Debug\vc60.idb
文件 397312 2020-04-24 08:47 tiger1\Debug\vc60.pdb
文件 2507 2020-04-22 10:41 tiger1\MainFrm.cpp
文件 1581 2020-04-22 10:41 tiger1\MainFrm.h
文件 4311 2020-04-22 10:41 tiger1\ReadMe.txt
文件 494 2020-04-22 10:41 tiger1\Resource.h
文件 208 2020-04-22 10:41 tiger1\StdAfx.cpp
文件 1054 2020-04-22 10:41 tiger1\StdAfx.h
目录 0 2020-04-22 10:41 tiger1\res\
文件 1078 2020-04-22 10:41 tiger1\res\Toolbar.bmp
文件 1078 2020-04-22 10:41 tiger1\res\tiger1.ico
文件 398 2020-04-22 10:41 tiger1\res\tiger1.rc2
文件 1078 2020-04-22 10:41 tiger1\res\tiger1Doc.ico
文件 1955 2020-04-22 10:41 tiger1\tiger1.clw
文件 4209 2020-04-22 10:41 tiger1\tiger1.cpp
文件 4555 2020-04-22 10:41 tiger1\tiger1.dsp
文件 518 2020-04-22 10:41 tiger1\tiger1.dsw
文件 1356 2020-04-22 10:41 tiger1\tiger1.h
文件 58368 2020-04-24 09:04 tiger1\tiger1.ncb
............此处省略7个文件信息
相关资源
- 基于MFC扩展CListCtrl子项显示图片并叠
- 黑白棋(带简单AI)
- MFC程序-碰撞的小球
-
Cme
taFileDC的使用示例 - ado数据库MFC图书管理系统vs2010
- mfc单文档窗体画线与写字
- [免费]MFC制作目录树
- MFC读三维模型obj文件
- 画图程序MFC/VC/VC CRectTracker 串行化
- MFC网络编程实例
- c 程序判断离散数学中命题公式
- MFC控件动态拖动
- MFC中OpenGL面和体的绘制以及动画效果
- c MFC 画多边形
- RSA AES DES ECC加密算法源码
- Microsoft基本类库 (MFC)(C 库)
- vc利用MFC底层开发的二维GIS管理软件,
- (MFC) 时钟日期程序
- 一个基于MFC的GridCtrl,提供类似Excel的
- 用MFC实现简单的画图功能
- MFC绘图小软件源代码(可当VC大作业用
- 基于MFC的文件目录树的对话框实现代
- VC 6.0 MFC做画图软件
- 空间后方交会MFC版,C 源代码
- 图像缩放(MFC)有详细的实现过程
- 一个mfc前端显示秒表
- 基于C 的简易FTP客户端(带源码)
- C (MFC)华容道自动求解
- VC 编程实现活动主机扫描源代码
- 在线考试系统VC (MFC)
评论
共有 条评论