| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付赛孚耐:软件保护加密专家
身份认证令牌USB KEY   
共有 430 人关注过本帖
标题:[求助] 一个俄罗斯方块程序的注释(英语好的来)
收藏  订阅  推荐  打印 
qq110224037
Rank: 1
等级:新手上路
帖子:26
积分:360
注册:2007-5-7
[求助] 一个俄罗斯方块程序的注释(英语好的来)

我在论坛这儿,下了一个俄罗斯方块的源程序
我想学习一下,可英文注释我读不懂。
现在把这些英文发上来,请高手按我给的序号翻译。

1 /* Up key*/
2 /* Left key*/
3 /* Right key*/
4 /* Down key*/
5 /* Space key*/
6/* ctrl+s complexKey*/
7 /* ctrl+e complexKey*/
8 /* ctrl+p complexKey*/
9/* ctrl+g complexKey*/
10 /* ctrl+h complexKey*/
11 /* ctrl+r complexKey*/
12 /* ctrl+l complexKey*/
13/*Give out helping information*/
14 /*Set the level of the grame*/
15 /*Output the curr level*/
16 /*Output the curr score*/
17 /*Get the values of score*/
18 /*Set the main intface*/
19/*Remind you of the next diamond*/
20 /*Draw the diamonds leaved */
21/*Get the information of the first diamonds*/
22 /*Clear the last graph*/
23 /*Draw the unit diamonds*/
24 /*Draw indexHead in the function of setinLevel*/
25 /*Grame start */
26 /*Declare the variable of recording Score*/
27 /*Keep the information of all the diamonds*/
28 /*Refresh the content of the array*/
29 /*Judge diamons whether can go on or not*/
30 /*Turn the values of x/y into array suffix*/
31/*For safety ,divide the whole program into four files.*/
32/*Some functions are packed into the following files*/
33/*Declare variables*/
34/*Initialize graph system*/
35/*Get the information of initializing graph system*/
36/*Judge graph system having be well initialized*/
37/*Make asking interface*/
38/*Initialize the array for keeping message of diamonds*/
39/*Initialize score*/
40/*Transfer function*/
41/*Pause program(press any key to continue)*/
42/*Reback to text mode*/
43/*Close graph system*/
44/*Initiate music seting */
45 /*Draw the main interface*/
46 /*Set initial value of the score */
47 /*Set initial value of the level */
48/*Get information for drawing the curr diamond*/
49/*Draw the curr diamond*/
50/*Draw the next diamond*/
51/*Slow down the course of program*/
52/*Grame over*/
53/*Pause(press any key to continue)*/
54/*Ask you whether play againg*/
55/*Get pressKey state*/
56/*Give the information of the key pressed and clear key buffer*/
57/*The key pressed is left key*/
58/*The key pressed is right key*/
59 /*The key pressed is up key*/
60/*The key pressed is down key*/
61/*The key pressed is space key*/
62/*The key pressed is ctrl+s complexKey*/
63/*The key pressed is ctrl+r complexKey*/
64/*The key pressed is ctrl+h complexKey*/
65 /*The key pressed is ctrl+e complexKey*/
66/*The key pressed is ctrl+p complexKey*/
67/*The key pressed is ctrl+l complexKey*/
68/*Have not pressed any key*/

搜索更多相关主题的帖子: 英语  俄罗斯方块  注释  
2007-5-19 10:49
OmO
Rank: 2
等级:注册会员
帖子:69
积分:794
注册:2006-7-28

这些都是可以望文生义的阿。

2007-5-19 18:49
qq110224037
Rank: 1
等级:新手上路
帖子:26
积分:360
注册:2007-5-7

以下是引用OmO在2007-5-19 18:49:58的发言:
这些都是可以望文生义的阿。

所以我想请教意思`

2007-5-19 22:04
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.084005 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved