登录
首页 » c » 很实用的C语言源代码

很实用的C语言源代码

于 2022-06-20 发布 文件大小:7.13 kB
0 138
下载积分: 2 下载次数: 1

代码说明:

/* 模拟扫雷游戏   */ #include #include #include #include #include #include #include union REGS regs; int size=15;/*用于表示每个方块的大小(正方形的边长)*/ int pix,piy=50;/*pix,piy是矩阵的偏移量*/ char b[2]="1";/*用于显示方格周围的雷的个数*/ int pan[30][16];/*用于记录盘面的情况:0:没有、9:有雷、1~8:周围雷的个数*/ int pan1[30][16];/*pan1[][]纪录当前的挖雷情况,0:没有操作、1:打开了、2:标记了*/ int tt;/*纪录时间参数*/ int Eflags;/*用于标记鼠标按钮的有效性,0:有效,1:无效,2:这是鼠标的任意键等于重新开始*/

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • iic_uart
    I2C转UART,51单片机普通IO口模拟I2C从机,解决UART不够的问题(I2C switch to UART, 51 Microprocessor Analog IO port I2C slave address the problem of insufficient UART)
    2020-11-22 15:19:34下载
    积分:1
  • ourdev_512239
    RC500原厂代码,支持ISO14443A所有的层(RC500 original code to support all of the layers ISO14443A)
    2011-10-24 15:45:23下载
    积分:1
  • smart-home-qt
    说明:  一个带界面的远程控制APP,可以实时显示室内温度湿度,光照强度(A remote control APP with interface can display indoor temperature, humidity and illumination intensity in real time.)
    2020-06-18 16:20:02下载
    积分:1
  • Chromosome_counter
    数学形态学及相关算法的C语言实现实例 源代码调用OpenCV的cxcore和highgui两个库,应用C语言编写,实现对染色体图像中染色体数目的统计。代码中的核心算法为数学形态学的重要算法——开运算、闭运算(腐蚀和膨胀)。包含腐蚀处理、膨胀处理、自适应中值滤波、微分直方图法确定二值化阈值、种子填充算法等图像处理算法的C语言实现,值得参考。(Mathematical Morphology and related algorithms realize the C language source code examples of cxcore call OpenCV and highgui two libraries, the application of C language to realize pairs of chromosomes in the chromosome number of image statistics. The core algorithm code for an important mathematical morphology algorithms- open operation, closing operation (corrosion and expansion). Contains corrosion treatment, expansion of treatment, adaptive median filter, histogram method to determine differential binarization threshold, the seed fill algorithm, such as image processing algorithms realize the C language, it is also useful.)
    2007-09-17 17:11:33下载
    积分:1
  • CSmoshidezhuomiangongxiangchengxu
    该程序完成的是桌面共享应用,包括论文一应俱全.使用语言是C++.(The process is complete is a desktop sharing application, including essays ranging use of language is C++. )
    2012-04-18 22:31:38下载
    积分:1
  • C8051f(单片机)
    说明:  usb 通信 基于C8051 单片机代码。(USB communication based on the C8051 microcomputer)
    2020-01-06 22:16:39下载
    积分:1
  • 人脸识别
    简单的人脸识别检测,能够实现对人脸的图像处理与人脸的识别功能,目前还不是很完善,我也是转载过来的,希望可以帮助像我这样的学者,大家多多共享,一起提高。另外,希望大神们勿喷!
    2023-05-11 19:15:04下载
    积分:1
  • 8Psk
    C编写的8PSK调制解调,很有用,值得学习,代码编写很规范(Written in C 8PSK modulation and demodulation, very useful, it is worth learning, very standardized coding)
    2014-08-08 14:40:11下载
    积分:1
  • mangqu
    AFD与AFDPF盲区对应的MATLAB程序.(the NDZ of AFD and AFDPF detection method corresponding MATLAB program.)
    2021-03-27 10:29:12下载
    积分:1
  • Cpp
    learning c++. it is good for start and beginners
    2016-03-27 00:23:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载