2013年3月13日
摘要: 以前写的一个命令行版扫雷,今天翻出来整理了下拿出来,写的有点乱= =Codeblocks、VC6.0编译通过,只能在windows下运行,Linux不支持。不嫌蛋疼的可以用curses库来实现下Linux版本。。。运行效果,比较简陋:程序还是比较简单的,那这里就直接丢代码了: 1 /** 2 * 命令行版扫雷,方向键控制 3 * 作者:evangwt 4 */ 5 #include <stdio.h> 6 #include <stdlib.h> 7 #include <conio.h> 8 #include <time.h> 9 #include 阅读全文
posted @ 2013-03-13 02:17 流淌的风 阅读(2570) 评论(0) 推荐(0) 编辑