摘要: 将《C语言程序设计》看了一遍,找了一个有源码的程序敲了一遍。将所学到的知识记录如下。下面是Tetris源代码://#include <stdio.h>#include <windows.h>#include <time.h>//#include <stdlib.h>#define W 14 //游戏区域宽度#define H 26 //游戏区域高度#define W1 6 //右边状态栏宽度#define BSIZE 25 //游戏方格边长#define Y1 6 //放置照片的纵坐标#define Y2 12 //分数显示栏顶端纵坐标#defi 阅读全文
posted @ 2011-12-11 22:00 司玲朦胧 阅读(482) 评论(1) 推荐(0)