【精品资料最新版】扫雷c源代码.docVIP

  • 2
  • 0
  • 约1.93万字
  • 约 10页
  • 2018-05-09 发布于江西
  • 举报
  #include graphics.h #include stdlib.h #include dos.h #include conio.h /*鼠标信息宏定义*/ #define WAITING 0xff00 #define LEFTPRESS 0xff01 #define LEFTCLICK 0xff10 #define LEFTDRAG 0xff19 #define RIGHTPRESS 0xff02 #define RIGHTCLICK 0xff20 #define RIGHTDRAG 0xff2a #define MIDDLEPRESS 0xff04 #define MIDDLECLICK 0xff40 #define MIDDLEDRAG 0xff4c #define MOUSEMOVE 0xff08 struct { int num;/*格子当前处于什么状态,1有雷,0已经显示过数字或者空白格子*/ int roundnum;/*统计格子周围有多少雷*/ int flag;/*右键

文档评论(0)

1亿VIP精品文档

相关文档