while是什么意思

产品组合2023-04-28  17

while是循环控制语句,它后面跟一个条件,如果条件满足,则运行循环,如果不满足,则不执行循环。比如下面这个例子是从10到1进行累加,自己体会一下吧:

int n = 10;

int s = 0;

while (n > 0)

{

s = s + n;

}

while

生词本

去背诵

英 [waɪl] 美 [hwaɪl, waɪl]

conj在…期间; 与…同时; 虽然; 而

n(一段)时间

vt消磨,打发(时间); (愉快而懒散地)度过(时间)(常与 away 连用)

网 络

循环;而;时;当…的时候

复数: whiles 过去式: whiled 过去分词: whiled 现在分词: whiling 第三人称单数: whiles 报 错

大家都在背: 新概念1 美剧迷宝典 零基础英语sweetpotato是什么?

双语例句

词组习语

同反义词

同义词辨析

更多资料

1 Mommy, you don't need to stay while we talk

妈妈,我们谈话时你不必陪着

来自柯林斯例句

2 It took her a while to get acclimatized to her new surroundings

她花了一段时间才适应了新的环境。

来自柯林斯例句

3 Jim Coulters will mind the store while I'm away

我不在的时候吉姆·库尔特斯会照看店铺的。

来自柯林斯例句

4 I'll make the tea and you pop off for a while

我来备茶,你去歇一会儿吧。

来自柯林斯例句

5 Will you lend me your jacket for a little while

你能把上衣借给我穿一会儿吗?

来自柯林斯例句

查看更多例句>>

柯林斯高阶英汉双解学习词典

英汉双向大词典

1 CONJUNCTION USES 连词用法

2 NOUN AND VERB USES 名词和动词用法

CONJUNCTION USES 连词用法

Usually pronounced /'waɪl/ for meaning 4 The form whilst is also used in formal or literary English, especially British English 义项4在句中通常为重读。正式及文学语言中亦使用词形whilst(尤见于英国英语)。

1 CONJ-SUBORD (表示两件事同时发生)当…的时候,在…时 If something happens while something else is happening, the two things are happening at the same time

They were grinning and watching while one man laughed and poured beer over the head of another

当一个男人大笑着把啤酒倒在另一个人头上时,他们都在乐呵呵地看着。

I sat on the settee to unwrap the package while he stood by

我坐在长椅上打开包裹时他就站在旁边。

Racing was halted for an hour while the track was repaired

修理赛道时车赛中止了1个小时。

2 CONJ-SUBORD (表示某一件事是在另一件事发生过程中的某一时间点发生的)当…的时候,在…时 If something happens while something else happens, the first thing happens at some point during the time that the second thing is happening

The two ministers have yet to meet, but may do so while in New York

两位部长尚未会面,但可能会在纽约碰头。

Never apply water to a burn from an electric shock while the casualty is still in contact with the electric current

当被电击者还连着电时,千万不要把水弄到电击伤口上。

3 CONJ-SUBORD 却;但是;然而 You use while at the beginning of a clause to introduce information which contrasts with information in the main clause

Marianne was tempted to turn the large rooms into traditional French-style salons, while Howard was in favour of a typically English look

玛丽安娜想把这些大房间弄成传统法式客厅的样子,但是霍华德喜欢典型的英式风格。

The first two services are free, while the third costs £3500

前两项服务免费,但是第三项服务要花35英镑。

4 CONJ-SUBORD 虽然;尽管 You use while, before making a statement, in order to introduce information that partly conflicts with your statement

While the numbers of such developments are relatively small, the potential market is large

尽管这种增长的数量相对较小,但是潜在的市场是巨大的。

While the modelling business is by no means easy to get into, the good model, male or female, will always be in demand

尽管模特行业绝不是那么容易进入的,但是好的模特,不论男女,总是需要的。

While the news, so far, has been good, there may be days ahead when it is bad

尽管到现在为止还都是好消息,但是可能过不了几天就会有坏消息传来。

while

英文发音:[waɪl]

中文释义:conj在期间;当的时候;与同时

例句:

Will you take care of my plants while I'm away

我不在期间你可以替我照看花草吗?

短语:

1、after a while 过了一会儿

2、a little while 不久,一会儿

3、all the while 一直;始终

4、quite a while 有一阵子,半天;相当长一段时间

扩展资料

while的用法:

1、while用作连词时,表示“在期间”。常用来引导时间状语从句,当主句的主语和while所引导的从句的主语一致时, while从句中的主语、谓语往往可以省去。

2、while还可引导让步状语从句,意思是“虽然,尽管”,含有对比意味。

3、while表示对比关系时,意思是“而,然而”。

while[waɪl][词典释义]conj虽然;然而;当……的时候n一会儿;一段时间vt消磨;轻松地度过[网络短语]While正当,一会儿,当Shortwhile不一会DOWHILE条件,循环语句,语句

以上就是关于while是什么意思全部的内容,包括:while是什么意思、while什么意思、while(1)是什么意思等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

转载请注明原文地址:https://juke.outofmemory.cn/read/3704603.html

最新回复(0)