登录
首页 » Visual C++ » Tetris

Tetris

于 2009-08-28 发布 文件大小:11KB
0 247
下载积分: 1 下载次数: 0

代码说明:

说明:  大概在最近两天之内编码完成,但此前一天开始构思。第一天晚上主要完成了方块旋转算法,第二天也就是今天加了消方块的处理算法。但是可能还有一些考虑不周的地方,比如,没有采用定时中断,而是图方便采用了和cpu频率有关的delay()函数来模拟时间间隔,这是需要改进的地方。(Probably within the last two days to complete coding, but the idea of the day before the beginning. Completed the first night the main box rotation algorithm, the next day that is today' s consumer box added processing algorithms. However, there may be some places where ill-considered, for example, does not use timer interrupt, but rather seek convenience and the cpu frequency of using the delay () function to simulate the time interval, and that needs improvement.)

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

发表评论

0 个回复

  • MicrosoftWindowsCE
    EVC开发忠告 可以让大家借鉴的对方三分(EVC development advice so that we can learn from each other one-third)
    2007-04-19 17:01:39下载
    积分:1
  • xtremetoolkitPro15.3.1
    大名鼎鼎的界面库Toolkit.Pro.v15.3.1完整源代码(SHELL PROGRAMMING Toolkit.Pro.v15.3.1)
    2018-08-04 20:08:21下载
    积分:1
  • mymapp
    用C++中的MFC编程实现正轴等角割圆柱投影,实现以下要求: 取克拉索夫斯基椭球 (1)制图区域: Bs=0°, BN=25° LE=105°, LE=125° (2)经纬线间隔: ΔB=ΔL=5° (3)制图比例尺: 1:M0=1:1000 000 (4)标准纬线: Bk=±15° 计算经纬网格点的 x, y,m,n, p (With C++ Of MFC programming is cutting Conformal cylindrical projection axis to achieve the following requirements: check克拉索Malinowski ellipsoid (1) mapping the region: Bs = 0 °, BN = 25 ° LE = 105 °, LE = 125 ° (2) latitude and longitude line spacing: ΔB = ΔL = 5 ° (3) Drawing scale: 1: M0 = 1:1000 000 (4) the standard parallels: Bk = ± 15 ° latitude and longitude grid computing point x , y, m, n, p)
    2007-12-03 03:36:43下载
    积分:1
  • PTZ
    ptz 云台控制软件, 内带C++ 源码(ptz PTZ control software, which brought C++ source)
    2013-07-27 14:58:53下载
    积分:1
  • MONG
    说明:  mongoose v6.15,多线程http——server,线程数可设。从GitHub下载C语言原代码,在vc6里面编译成c++工程(multi-threads http_server, based on source code from Github. The project is conducted in VC6, converted from c language. The threads num can be edited in code.)
    2020-06-18 04:40:02下载
    积分:1
  • UnderstandingGPSPrinciplesandApplications
    说明:  GPS原理与应用: 本书系统、深入地阐述了GPS的各项相关内容,包括其发展背景、基本原理、系统构成、信号特性、接收机信号处理、信道恶化及抗干扰、性能评估、差分技术、与其他传感器的组合和网络辅助、GALILEO及其他卫星导航系统,以及GNSS市场和应用。本书的内容丰富,实用性强,理论分析清楚,工程示例翔实,充分反映了近年来的新技术和新成果,是卫星导航领域的一本优秀参考书。 本书可以作为卫星导航定位及相关领域的系统设计师、算法设计师、软硬件工程师和科技工作者的业务工具书,也可作为高校相关专业教师和研究生教学的教材和参考书。(err)
    2008-11-18 16:24:36下载
    积分:1
  • CPPPrimer
    这是一部很好的C++学习教材,有助于大家提高C++的学习(This is a very good C++ learning materials.Help us to improve the learning C++)
    2011-12-11 19:58:45下载
    积分:1
  • Virtual-screen-and-realization-
    Visual C++语言提供了虚屏功能,利用它及Windows GDI图形函数,可编制出功能强大的图形处理程序。虚拟屏幕的原理是,首先定义一个虚拟设备描述表及一块位图象数据区,将本应在实际窗口的绘画处理转移到此图象数据区(这块图象数据区功能相当于视频存储区),绘画操作完成后可通过图象传递,将结果弹出到可视窗口。许多Windows环境的图形处理或CAD系统都采用了这种技术。如GIS软件Mapinfo、AutoCAD for Windows等,它们的图形操作功能如开窗、漫游等的基础都是建立在虚屏基础上,并且将操作界面都作成工具窗(一种特殊的窗口,客户区内规则地排列着图象按钮响应操作代码)的形式,直观、灵活且便于用户选择操作。VC++的CDC类、CBitmap类封装了对虚屏的操作,利用类的继承性,也可很容易的实现工具窗。(Visual C++ provides a virtual screen function, use it, and Windows GDI graphics functions, can be prepared in a powerful graphics program. The principle of the virtual screen, first define a virtual device description table and a bit image data area, the present should be transferred in the actual window painting processing of this image data area (this image data area function equivalent to the video memory area ), after the completion of the painting operation can be passed through the image, the results of the pop-up to the visible window. Graphics or CAD system for many Windows environment using this technology. GIS software Mapinfo, AutoCAD for Windows and other graphics operations functions such as windows, roaming the foundation are built on the basis of the virtual screen, and the operator interface made ​ ​ tool window (a special window, the client area regularly arranged in the form of image button in response to the operation code), intuitive, flexible and user-fri)
    2012-11-29 00:55:11下载
    积分:1
  • GPS卫星定位-实时位置计算序-VC++源代码
    GPS定位代码,仅供大家学习与参考,欢迎批评指正。(The locating code of GPS,just for study.)
    2020-11-03 20:49:52下载
    积分:1
  • DirectDraw1
    说明:  DirectDraw编程方法与技巧.pdf(DirectDraw programming methods and techniques. Pdf)
    2008-09-04 23:54:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载