登录
首页 » C# » 利用C编写的贪吃蛇小游戏

利用C编写的贪吃蛇小游戏

于 2023-06-25 发布 文件大小:5.06 kB
0 77
下载积分: 2 下载次数: 1

代码说明:

利用C编写的贪吃蛇小游戏,成功实现了如何用C编写界面,实现贪吃蛇的游戏,1)   函数定义是要做到顾名思义是很重要的,它对读程序的人正确认识程序   十分重要,在修改这个程序的过程中也能很快找到程序各模块的作用,大大增 加了程序的可读性。 2)   分析函数先从main()函数入手。Main()函数是C++源程序编译时的开始,     从main()函数开始读函数可将其他函数的功能理解得更透彻。 3) 

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

发表评论

0 个回复

  • sine_demo
    本程序的功能是在TI的32位单片机LM3S9D96官方开发板上,基于IAR软件平台的,在触屏上显示一个动态的正弦波的C程序。用的是官方的开发板,液晶屏也是官方的。本程序是自己原创。程序非常规范,有详尽英语代码注释。 本程序是该单片机的一个高级液晶显示应用。(The function of the program is a dynamic sine wave C program in TI' s 32 the microcontroller LM3S9D96 official development board, based on the the IAR software platform, touch screen display. Official development board, the LCD screen is also an official. This program is original. The program is very standardized, detailed English code comments. This program is an advanced LCD microcontroller applications.)
    2013-04-11 10:01:51下载
    积分:1
  • C# UseHaving 在HAVING子句中使用子查询过滤平均值数据
    C# UseHaving 在HAVING子句中使用子查询过滤数据,查询学生表中学生年龄大于平均学生年龄的学生信息,查询代码的编写如下:string P_Str_ConnectionStr = string.Format(//创建数据库连接字符串    @"server=WIN-GI7E47AND9RLS;database=db_TomeTwo;uid=sa;pwd=");   string P_Str_SqlStr = string.Format(//创建SQL查询字符串    @"SELECT 所在学院,学生姓名,年龄,(SELECT AVG(年龄) FROM tb_Student) AS 平均年龄 FROM tb_Student GROUP BY 所在学院,学生姓名,年龄 HAVING 年龄>(SELECT AVG(年龄) FROM tb_Student)");   SqlDataAdapter P_SqlDataAdapter = new SqlDataAdapter(//创建数据适配器    P_Str_SqlStr, P_Str_ConnectionStr);   DataTable P_dt = new DataTable();//创建数据表   P_SqlDataAdapter.Fill(P_dt);//填充数据表   return P_dt;//返回数据表   请在测试前,连接好数据库,本例只是分享代码,并没有找到数据库文件。
    2022-03-02 18:15:07下载
    积分:1
  • matlab实现BP网络城市用水量的检测
    用matlab的nn实现BP神经网络 并成功运用到城市用水量的检测
    2022-02-02 14:29:00下载
    积分:1
  • Browser-2
    用c语言写的浏览器,简单易用,可以返回请求。注意安装配套文件(Using c language of the browser, easy to use, you can return the request. Note The installation supporting documents)
    2013-09-10 19:26:32下载
    积分:1
  • STM32_ADC-DMA
    数据由DMA送到内存中,主程序中把每个通道的数据分检出来经过"去极值取平均值滤波"后送给LCD显示,在万利的开发板上显示的值比万利的例子稳定多了(Data sent by the DMA memory, the main program data for each channel after sorting out "to the extreme averaging filter" to the LCD display, the value of the development board Manley displayed stable than Manley examples more)
    2014-05-10 08:28:21下载
    积分:1
  • funcir
    用OpenGL实现画曲线,可根据实际更改函数,从而获得所需函数曲线(Curve drawn with OpenGL to achieve, can be changed according to the actual function, and thus to obtain the necessary function curve)
    2009-05-06 19:39:47下载
    积分:1
  • RN8302-fft
    买RN8302,卖家给的程序,看起来挺好的,下载看看呗(Buy RN8302, the seller gave the program looks very good, and download to see the pictures)
    2014-06-20 10:43:28下载
    积分:1
  • 中科大计算方法实验 编写gauss
    中科大计算方法实验 编写gauss-seidel迭代和SOR迭代的通用程序-Experimental preparation of USTC method gauss-seidel iteration and SOR iterative general program
    2022-03-13 12:56:39下载
    积分:1
  • 2.STM32控制代码
    对于新手调试入手很快,通过32单片进行通信控制,及算法运算给(For beginners, debugging starts very quickly, communication control is carried out through 32 single chip, and arithmetic operation is given to them.)
    2020-06-25 03:40:02下载
    积分:1
  • ARM_Cortex-M3
    深入浅出STm32 深入浅出STM32系列ARM_Cortex-M3.pdf(Stm32 study)
    2012-10-30 21:28:33下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载