资源简介
利用C++MFC实现了简单的扫雷系统 包含所有报告以及答辩PPT 很好用的哦

代码片段和文件信息
// luliang.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “luliang.h“
#include “MainFrm.h“
#include “luliangDoc.h“
#include “luliangView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CLuliangApp
BEGIN_MESSAGE_MAP(CLuliangApp CWinApp)
//{{AFX_MSG_MAP(CLuliangApp)
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()
/////////////////////////////////////////////////////////////////////////////
// CLuliangApp construction
CLuliangApp::CLuliangApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CLuliangApp object
CLuliangApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CLuliangApp initialization
BOOL CLuliangApp::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
// 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(); // 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(CLuliangDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CLuliangView));
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->SetWindowPos(NULL 350100 312460 SWP_SHOWWINDOW|SWP_DRAWframe);
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 162 2007-09-08 17:36 陆亮扫雷\说明.txt
文件 102400 2007-09-07 21:54 陆亮扫雷\答辩PPT\课程设计.ppt
目录 0 2008-02-29 20:21 陆亮扫雷\答辩PPT
文件 60648 2007-12-24 23:17 陆亮扫雷\源代码\luliang.aps
文件 2583 2008-01-26 17:23 陆亮扫雷\源代码\luliang.clw
文件 4212 2008-01-26 17:23 陆亮扫雷\源代码\luliang.cpp
文件 4845 2007-09-06 18:28 陆亮扫雷\源代码\luliang.dsp
文件 539 2007-09-02 09:44 陆亮扫雷\源代码\luliang.dsw
文件 1367 2007-09-02 09:44 陆亮扫雷\源代码\luliang.h
文件 197632 2008-01-26 17:23 陆亮扫雷\源代码\luliang.ncb
文件 56832 2008-01-26 17:23 陆亮扫雷\源代码\luliang.opt
文件 2050 2008-01-26 17:23 陆亮扫雷\源代码\luliang.plg
文件 11308 2007-09-08 16:24 陆亮扫雷\源代码\luliang.rc
文件 1762 2007-09-02 09:44 陆亮扫雷\源代码\luliangDoc.cpp
文件 1486 2007-09-02 09:44 陆亮扫雷\源代码\luliangDoc.h
文件 10440 2007-09-08 20:28 陆亮扫雷\源代码\luliangView.cpp
文件 3318 2007-09-06 20:58 陆亮扫雷\源代码\luliangView.h
文件 1989 2007-09-08 20:28 陆亮扫雷\源代码\MainFrm.cpp
文件 1427 2007-09-08 20:28 陆亮扫雷\源代码\MainFrm.h
文件 4019 2007-09-02 09:44 陆亮扫雷\源代码\ReadMe.txt
文件 959 2007-09-06 20:58 陆亮扫雷\源代码\resource.h
文件 1109 2007-09-06 20:56 陆亮扫雷\源代码\SetMineArea.cpp
文件 1268 2007-09-06 20:56 陆亮扫雷\源代码\SetMineArea.h
文件 209 2007-09-02 09:44 陆亮扫雷\源代码\StdAfx.cpp
文件 1054 2007-09-02 09:44 陆亮扫雷\源代码\StdAfx.h
文件 12718 2007-09-08 16:24 陆亮扫雷\源代码\res\bitmap1.bmp
文件 7334 2007-09-06 23:38 陆亮扫雷\源代码\res\bitmap_w.bmp
文件 12438 2007-09-06 18:19 陆亮扫雷\源代码\res\bmp00001.bmp
文件 1078 2007-09-02 09:44 陆亮扫雷\源代码\res\luliang.ico
文件 399 2007-09-02 09:44 陆亮扫雷\源代码\res\luliang.rc2
............此处省略23个文件信息
- 上一篇:哈夫曼树的应用和实现 C语言
- 下一篇:c++ 实现matlab smooth 函数
相关资源
- 国际象棋的qt源代码
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- C语言课程设计
- CCS FFT c语言算法
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- c语言电子商务系统
- VC++MFC小游戏实例教程(实例)+MFC类库
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- 颜色识别形状识别STM103嵌入式代码
- c++ 邮件多附件群发
- c++ 透明代理(hookproxy)
- mfc 调用redis
评论
共有 条评论