| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 890 人关注过本帖
标题:[求助] 一个俄罗斯方块程序的注释(英语好的来)
只看楼主 加入收藏
qq110224037
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2007-5-7
收藏
 问题点数:0 回复次数:2 
[求助] 一个俄罗斯方块程序的注释(英语好的来)

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

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-05-19 10:49
OmO
Rank: 1
等 级:新手上路
帖 子:69
专家分:0
注 册:2006-7-28
收藏
得分:0 
这些都是可以望文生义的阿。

2007-05-19 18:49
qq110224037
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2007-5-7
收藏
得分:0 
以下是引用OmO在2007-5-19 18:49:58的发言:
这些都是可以望文生义的阿。

所以我想请教意思`

2007-05-19 22:04
快速回复:[求助] 一个俄罗斯方块程序的注释(英语好的来)
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013488 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved