| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 541 人关注过本帖
标题:while遇到的困难
只看楼主 加入收藏
shenjian
Rank: 1
等 级:新手上路
帖 子:13
专家分:0
注 册:2007-10-30
收藏
 问题点数:0 回复次数:6 
while遇到的困难
while是什么啊,我现在在学习这个循环结构,谁帮帮我啊,帮助我理解它啊,谢谢前辈啊
速度啊??!11举例也可以啊,只要理解就行啊
搜索更多相关主题的帖子: 困难 前辈 结构 速度 举例 
2007-11-04 13:28
duccdd
Rank: 1
等 级:新手上路
帖 子:48
专家分:0
注 册:2007-10-25
收藏
得分:0 
书上没有吗
2007-11-04 14:05
lovewenyong7
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2007-11-4
收藏
得分:0 

while 语句用来实现当型循环,其一般形式为:
while(表达式)
语句;
“表达式”为循环条件,“语句”为循环体。
while语句含义:判断循环条件也就是“表达式”,如果为“真”,就执行循环体。


2007-11-04 15:25
与梦者
Rank: 1
等 级:新手上路
帖 子:116
专家分:0
注 册:2007-10-5
收藏
得分:0 

[QUOTE]while
[(h)wail]
n.
一会儿, 时间
conj.
当...的时候, 虽然
vt.
消磨
prep.
<古><方>直到
while
while
AHD:[hwºl, wºl]
D.J.[hwa!l, wa!l]
K.K.[hwa!l, wa!l]
n.(名词)
A period of time:
一段时间:
stay for a while; sang all the while.See Usage Note at awhile
停留下会儿;一直都在唱歌参见 awhile
The time, effort, or trouble taken in doing something:
费时:做一件事情的花费时间、努力或工夫:
The project wasn't worth my while.
这项方案不值得我花工夫,
conj.(连接词)
As long as; during the time that:
只要;在…时间里:
It was lovely while it lasted.
当它开着的时间它是很惹人喜爱的
At the same time that; although:
在…同时;尽管,虽然:
While the grandparents love the children, they are strict with them.
“虽然祖父母们都爱他们的孩子,但却对他们要求严格”
Whereas; and:
然而;而,而且:
The soles are leather, while the uppers are canvas.
鞋跟是皮的,而鞋面是帆布的,
v.tr.(及物动词)
whiled,whil.ing,whiles
To spend (time) idly or pleasantly:
消磨:闲散或轻松地消磨时间:
while the hours away.
消磨时光
Middle English
中古英语
from Old English hwºl * see k wei…-
源自 古英语 hwºl *参见 k wei…-
while
[(h)wail]
n.
时间; 一段时间, 一会儿
Wait a while.
等一会儿。
It took a long while to do the work.
做这个工作花了许多时间。
What have you been doing all this while?
这一阵子你一直在做什么?
while
[(h)wail]
conj.
当...的时候, 和...同时; 只要
但是, 然而
虽然; 尽管
half-turn while in hanging
悬垂转体180°
Write while I dictate.
当我口述时请你记下。
Some people like coffee, while others like te
adj.
有些人喜欢咖啡, 而有些人喜欢茶。
While he loves his students, he is very strict with them.
虽然他爱他的学生, 可是他对他们很严格。
prep.
[古]到...时候止, 直到...
vt.
消磨, 闲混(时间)(away)
a good [long, great] while
长[许]久
a little while
不久, 一会儿
a while ago
方才, 刚才
after a while
不久, 过一会儿
all the while
始终, 一直
at whiles
有时, 时常
between whiles
间或, 时或
every little while (=at whiles)
有时, 时常
for a [one] while
暂时
in a little while
不久, 没一会儿
make it worth sb.'s while
酬谢某人, 贿赂某人
the while [whilst]
(与此)同时, 在此期间
while you are about it
[口]顺便, 在你做这个的同时
worth (one's) while
值得的; 值得花费时间, 值得一干; 有益的
while
while
AHD:[hwºl, wºl]
D.J.[hwa!l, wa!l]
K.K.[hwa!l, wa!l]
n.
A period of time:
stay for a while; sang all the while.See Usage Note at awhile
The time, effort, or trouble taken in doing something:
The project wasn't worth my while.
conj.
As long as; during the time that:
It was lovely while it lasted.
At the same time that; although:
While the grandparents love the children, they are strict with them.
Whereas; and:
The soles are leather, while the uppers are canvas.
v.tr.
whiled,whil.ing,whiles
To spend (time) idly or pleasantly:
while the hours away.
Middle English
from Old English hwºl * see k wei…-
while
来自古英语 hwil[/QUOTE]


偶没学编程,也许本身就是一个错。。。
2007-11-04 15:28
lovewenyong7
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2007-11-4
收藏
得分:0 
这个是什么啊?看着头晕了!~

2007-11-04 15:38
枫之恋
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-10-13
收藏
得分:0 
与梦的英语挺不错的嘛!!!

我有点菜,但我很努力!!!
2007-11-04 16:11
lovewenyong7
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2007-11-4
收藏
得分:0 

英语,我永远的痛啊!~


2007-11-04 16:18
快速回复:while遇到的困难
数据加载中...
 
   



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

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