stdafx.cpp
来自「这是一个好玩的扫雷程序,用vc实现,其亮点是位图的操作.」· C++ 代码 · 共 16 行
CPP
16 行
// stdafx.cpp : source file that includes just the standard includes
// WinMine.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
int m_nRow,m_nColumn;
int Matrix[24][40];//一个与方框同步的数组,行最多24行,宽可以有30
int bombs;//雷数
LONG m_nWidth,m_nHeigth;//记录每一张图片的宽度与高度
bool MatrixLabel[24][40]; //标记是否访问过方块
int R_MatrixLabel[24][40];
int m_nVisit;
int RFlag;//记录红旗的个数
int m_ntime;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?