- 博客(6)
- 收藏
- 关注
原创 a interface to stack that implement use the fixed array.
/* a interface to stack that implement use the fixed array. date: 2006.11.23 author: dongshuiluo complier: dec-c++ 4.9.9.2*/#ifndef DONGSHUILUO_STACK_H#define DONGSHUILUO_STACK_Htypedef stru
2006-11-23 17:18:00 1132
原创 C-贪吃蛇-基于字符屏幕80*25 turboc 2.0
#include#include#include#include#include#define MAX_LENGTH 100#define LEFT 0x4b00#define RIGHT 0x4d00#define UP 0x4800#define DOWN 0x5000#define PAUSE 0x1970 /* p key */#define ESC 0x11b#define T
2006-03-08 11:11:00 1146
原创 C-键盘扫描码的输出 TURBOC 2.0
#include#includemain(){ union key { char j[2]; unsigned int i; } bkey; printf(" ------noticed------/n"); printf("the exe is tell you the keys scancode./n"); printf("each key just
2006-03-07 21:44:00 982
原创 c-简单的阴-阳历转换 turboc 2.0
#include#include struct data { int year1; int specialmonth; int month1[13]; }; struct day{ int year2; int month2; int day2; }; int dis_day1(struct day *op,int *p) { int n=0,x; n+=(op->ye
2006-03-06 18:43:00 1258
原创 C-俄罗斯方块 TURBOC 2.0
#include#include#include#include#include#define LEFT 0x4b00#define RIGHT 0x4d00#define DOWN 0x5000#define UP 0x4800#define SPACE 0x3920#define ESC 0x11bint TIMELIMIT;int movekey,INDEX,wherex,wherey,di
2006-03-06 18:24:00 1284 1
原创 一个简易的打字速度测量----C编写
#include#include#include#include#define WALL 1 /* 边窗的ASCII码 */#define TIMELIMIT 2 /* 字符下降的速度*/#define BCOLOR BLACK /* 背景的颜色*/#define WCOLOR WHITE /*下降的字符颜色*/in
2006-03-06 16:32:00 1424
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人