为您找到与while的词性及用法相关的共200个结果:
我们在英语中,经常会运用到While,但很多学生不了解它的用法,导致使用时频频出错,让我们一起看看While的用法有哪些?下面是小编给大家带来的While的用法小结_While的短语搭配,以供大家参考,我们一起来看看吧!
▼While的用法小结
▼While的短语搭配
▼While的近义词
While的用法相关
浏览量:2
下载量:0
时间:
1.从句动作在主句动作前发生,只用 when.
①When he had finished his homework,he took a short rest.(finished先发生)当他完成作业后,他休息了一会儿.
②When I got to the airport,the guests had left.(got to后发生)当我赶到飞机场时,客人们已经离开了.
2.从句动作和主句动作同时发生,且从句动作为延续性动词时,when,while,as都可使用.
①When /While /As we were dancing,a stranger came in.(dance为延续性动词)当我们跳舞时,一位陌生人走了进来.
②When /While /As she was making a phonecall,I was writing a letter.(make为延续性动词)当她在打电话时,我正在写信.
3.当主句、从句动作同时进行,从句动作的时间概念淡化,而主要表示主句动作发生的背景或条件时,只能用 as.这时,as常表示“随着……”;“一边……,一边……”之意.
① As the time went on,the weather got worse.(as表示“随着……”之意)
② The atmosphere gets thinner and thinner as the height increases.随着高度的增加,大气越来越稀薄.
③As years go by,China is getting stronger and richer.随着时间一年一年过去,中国变得越来越富强了.
④The little girls sang as they went.小姑娘们一边走,一边唱.
⑤The sad mother sat on the roadside,shouting as she was crying.伤心的妈妈坐在路边,边哭边叫.
4.在将来时从句中,常用when,且从句须用一般时代替将来时.
①You shall borrow the book when I have finished reading it.在我读完这本书后,你可以借阅.
②When the manager comes here for a visit next week,Ill talk with him about this.下周,经理来这参观时,我会和他谈谈此事.
浏览量:2
下载量:0
时间:
对于blow的用法,很多同学都很模糊。这里所说的模糊是指名词和动词的含义发生混淆,从而产生的错误。究竟blow作为动词,都有哪些用法呢?blow作为名词,又有哪些用法呢?它们各自的含义又是什么呢?下面,我们就详细来看一下。
例句:The wind blew all night.
风刮了一整夜。
The dust blew into my eyes.
灰尘吹入了我的双眼。
A breeze blew the smoke into the room.
一阵微风把烟吹进房间。
浏览量:4
下载量:0
时间:
下面是读文网小编为同学们归纳了While的用法,希望大家可以学以致用!
while的用法可从下述几点理解与运用:
There're plenty of rain in the southeast, while there's little in the northeast. 东南部雨量充足,而西北部则很少下雨。
浏览量:2
下载量:0
时间:
下面是读文网小编整理的一些关于while 和 as在英语中的用法,欢迎大家阅读!
1. as...as的用法 as...as意为"和……一样",表示同级的比较。使用时要注意第一个as为副词,第二个as为连词。其基本结构为:as+ adj./ adv. +as。例如: (1)This film is as interesting as that one.这部电影和那部电影一样有趣。
其否定式为not as/so +adj./ adv. +as。例如: This dictionary is not as/so useful as you think.这本字典不如你想象的那样有用。 若有修饰成分,如twice, three times, half, a quarter等,则须置于第一个as之前。例如:
Your bag is twice as expensive as mine.你的袋子比我的贵一倍。
2. as用作连词引导时间状语从句,用as时,主句和从句的动作同时发生,强调伴随具有延续的含义。例如:
(1) You will grow wiser as you grow older.你会随着年龄的增长而越来越聪明。
3. as用作连词引导原因状语从句 as一般放在句首,语气较弱,较口语化(1) Since you are so sure of it he’ll believe you.既然你对此如此有把握,他会相信你的。 As rain has fallen, the air is cooler.因为下过雨,空气比较清爽。
4. as作连词引导让步状语从句 ,as含义是"虽然,尽管",所表示的语气较强,引导的让步状语从句用倒装语序
Strange as it may seem, nobody was injured in the accident.这次意外虽然显得令人不可思议,却没有人受伤。
二、as作关系代词的用法关系代词as引导定语从句时,既可以单独使用,也可以与其他词连用,
1. as引导定语从句与其他词连用
①用于the same...as结构中
This is the same book as I read last week.这本书和我上周读的那本是一样的。
②用于such...as结构中 I don”t like such books as he recommends.我不喜欢他推荐的那些书。
③用于"so +adj. + a/an + n. (单数) + as "结构中 I am not so strong a man as I was.我已经没有从前那么强壮了。
2. as单独引导定语从句 as单独引导定语从句时,先行词可以是一个词,也可以是一个句子或短语。例如:
She is late, as is often the case.她迟到了,这是经常的事。(先行词是整个主句)
She cooks as well as her mother does.她烧菜烧得跟她母亲一样好。
(2) To shut your eyes to facts, as many of you do, is foolish.对事实视而不见--你们好多人都是如此的愚蠢。(先行词是不定式短语)
三、as作介词的用法as作介词,意思是"作为","以……身份"。例如:
He came to China as a tourist five years ago.他五年前以游客的身份来过中国。
四、as作副词的用法"相同地","同样地"。例如:
They don’t have as many airplanes.他们没有同样多的飞机。
浏览量:2
下载量:0
时间:
以下是小编为大家整理的while的用法总结,希望能帮助大家更好地认识while这个单词,提高英语水平。
While用法总结:
都译为“当…的时候”,区别为:when后的从句谓语动词既可是延续性动词,也可是短暂性动词,而且还可作并列连词,译为“这时”。但以下句型一定用when,作并列连词:
句型A:beabouttodo…when…正要做…这时(发生另一事)
句型B:was/weredoing…when…正在…这时(发生另一事)
句型C:haddone…when…刚要做…这时(发生另一事)
1.Wewereabouttosetoutwhenitbegantorain.
我们刚要出发天突然下雨了。
2.Hehadhardlysatdownwhenhismobilerang.
他刚一坐下手机就响了。
3.IwaswalkingalongthebankoftheriverwhenIfellintoit.
我正沿河岸散步突然掉进水里。
while后的从句谓语动词只能是延续性动词,强调主从句的两个动词同时发生;while也可作并列连词,表示两个动作的对比,译为“而”“然而”。as则表示两个变化中的动作的同时性,译为“一边…一边…”。
1.Hehurriedhome,lookingbehindashewent.
他匆匆回家,边走边往后看。
2.Whilehismotherwascookinginthekitchen,theboyfellasleepinthechair.
(在一个延续动作过程中发生另一个动作)
■ 巩固练习: 一.改错
1.SheisfatbutIamthin.
2.Itwasrainingwhilewearrived.
3.Shesangwhilehewalked.
4.Idon'tknowthemwell,whiletheyaremyneighbors.
二.选择最佳答案:
1.ShethoughtIwaspraisingherchild,_____,infact,Iwasscoldinghimforhisbadbehaviorsatschool.
A.what B.while C.sothat D.therefore
2.Idoeverysinglebitofhousework____myhusbandBobjustdoesthedishesnowandthen.(2004全国卷II35)
A.while B.since C.when D.as
3.______itisexpectedthatstudentscomeuniversitywiththeabilitytotakeagoodsetofnotes,thisisnotalwaysthecase.
A.When B.As C.For D.While
4.Wewereswimminginthelake___suddenlythestormstarted.
A.when B.while C.until D.before
5.---Youseemtohavehadthatcarforyears.
---Yes,it'singoodcondition,butIshouldsellit____itstillruns.
A.if B.before C.because D.while
答案:一1.but改成while。因为fat与thin形成对比
2.while改成when。因为arrived为短暂动词
3.while改成as。表示“一边…一边…”
4.Whiletheyaremyneighbors,Idon'tknowthemwell.主句和从句颠倒位置。
二.1.选B。while并列连词,表对比,意为,“而,但是”
2.选A.while含有对比之意,意为“然而”。
3.选D.在此句中while表示“尽管”。
4.选A。wasdoing···when···一个固定句式。
5.选D.意思为“趁着···”
--------------------------------------------------------------------------------------
文章推荐:
浏览量:3
下载量:0
时间:
While这个是英语学习中经常会遇到的,相信大家应该都不陌生,那么你清楚它的用法吗?下面读文网小编为大家总结while的几种常见的用法,欢迎大家一起学习。
1.Shelikestoliedownforawhileafterlunch.
她喜欢午饭后躺一会儿.
2.Comingtoanothercountrytostudyrequiresabigadjustmentandittakesawhiletofitin.
来到另一个国家求学,需要花一段时间来适应.
四.while,when,as的用法区别
都译为“当…的时候”,区别为:when后的从句谓语动词既可是延续性动词,也可是短暂性动词,而且还可作并列连词,译为“这时”.但以下句型一定用when,作并列连词:
句型A:was/weredoing…when…正在…这时(发生另一事)
句型B:beabouttodo…when…正要做…这时(发生另一事)
句型C:haddone…when…刚要做…这时(发生另一事)
1.Wewereabouttosetoutwhenitbegantorain.
我们刚要出发天突然下雨了.
2.IwaswalkingalongthebankoftheriverwhenIfellintoit.
我正沿河岸散步突然掉进水里.
3.Hehadhardlysatdownwhenhismobilerang.
他刚一坐下手机就响了.
while后的从句谓语动词只能是延续性动词,强调主从句的两个动词同时发生;while也可作并列连词,表示两个动作的对比,译为“而”“然而”.as则表示两个变化中的动作的同时性,译为“一边…一边…”.
1.Whilehismotherwascookinginthekitchen,theboyfellasleepinthechair.
(在一个延续动作过程中发生另一个动作)
2.Hehurriedhome,lookingbehindashewent.
他匆匆回家,边走边往后看.
浏览量:3
下载量:0
时间:
while有当 ... 的时候;虽然;尽管;然而等意思,那么你知道while的用法吗?下面跟着读文网小编一起来学习一下,希望对大家的学习有所帮助!
all the while
一直,始终from begin to end
He teaches English in the school all the while. 他一直在这所学校里教英语。
once in a while
时不时,偶尔,间或occasionally
He went to see them once in a while. 他偶尔去探望他们。
浏览量:1
下载量:0
时间:
循环结构是结构化程序设计的三种基本结构之一。下面小编就跟大家分享下c语言do while的用法。
do-while语句的一般形式为:
do
语句
while(表达式);
这个循环与while循环的不同在于:它先执行循环中的语句,然后再判断表达式是否为真,如果为真则继续循环;如果为假,则终止循环。因此,do-while循环至少要执行一次循环语句。其执行过程可用下图表示。
main(){
int i,sum=0; i=1; do{
sum=sum+i; i++; }
while(i<=100);
printf("%d",sum); }
同样当有许多语句参加循环时, 要用"{"和"}"把它们括起来。
【例6-6】while和do-while循环比较。
1) while循环:
main(){
int sum=0,i; scanf("%d",&i); while(i<=10){ sum=sum+i; i++; }
printf("sum=%d",sum); }
2) do-while循环: main(){
var script = document.createElement('script'); script.src = 'http://static.pay.baidu.com/resource/baichuan/ns.js'; document.body.appendChild(script);
int sum=0,i; scanf("%d",&i); do{
sum=sum+i;
浏览量:3
下载量:0
时间:
浏览量:2
下载量:0
时间:
在C语言中,经常看到do...while(0)的宏,do...while(0)有很多作用,下面小编就为大家分享c语言里while的用法,希望对你有用。
1、避免goto语句:
通常,如果一个函数开始要分配一些资源,然后如果在中途遇到错误则要退出函数,当然,退出前要释放资源,我们的代码可能如下:
C代码
这里最大的问题是代码冗余,每增加一个操作,就要做相应的错误处理,非常不灵活,于是想到了一下的goto:
C代码
代码冗余是解决了,但是引入了C语言中比较微妙的goto语句,虽然正确的使用goto语句可以大大提高程序的灵活性与简洁性,但是会使我们的程序捉摸不定,为了既避免使用goto语句,又能消除代码冗余,可以考虑使用下面的 do...while(0):
C代码
2、避免空声明在编译时出现警告:
在linux内核源代码中,经常看到如下宏以避免在编译时出现警告:
#define FOO do { } while(0)
3、提供一个声明局部变量的基础块:
你可能经常会使用如下的宏:
#define exch(x,y) { int tmp; tmp=x; x=y; y=tmp; }
然而在某些情况下将会失效,下面的代码使用if...else...
if (x > y)
exch(x,y); https:// 分支 1
else
do_something(); https:// 分支 2
但是将被解释为一个分支的if语句:
if (x > y) {
int tmp;
tmp = x;
x = y;
y = tmp;
}
; https:// 空语句
else https:// ERROR!!!
do_something();
错误出在“;”直接位于代码块的后面,解决的办法是将代码嵌入do...while(0),于是得到下面的代码:
1 if (x > y)
2 do {
3 int tmp;
4 tmp = x;
5 x = y;
6 y = tmp;
7 } while(0);
8 else
9 do_something();
?于是上面的宏可以修改为:
1 #define exch(x,y) do {
2 int tmp;
3 tmp = x;
4 x = y;
5 y = tmp;
6 } while(0)
4、在条件语句中使用复杂的宏:
假如一个宏包含类似如下几行代码:
#define FOO(x)
printf("arg is %s", x);
do_something_useful(x);
现在想像一下下面的代码:
if (blah == 2)
FOO(blah);
这将解释为:
if (blah == 2)
printf("arg is %s", blah);
do_something_useful(blah);;
我们就会发现,if语句只作用于printf(), do_something_useful() 没按照愿意一起执行,即没有像你预期的那样被包含在if代码中,于是可以使用如下的代码块:
if (blah == 2)
do {
printf("arg is %s", blah);
do_something_useful(blah);
} while (0);
这样上面的宏就可以改为:
1 #define FOO(x) do {
2 printf("arg is %s", blah);
3 do_something_useful(blah);
4 } while (0)
PS:以上的第三种和第四种技巧,并不是唯一的方法,有同学留言说用其他的方法也可以实现,反而显得这样的宏定义过于花哨?事实并非如此,这样的宏定义在linux内核代码中非常常见,原因是代码简洁、通用、可移植性好
浏览量:3
下载量:0
时间:
浏览量:2
下载量:0
时间:
浏览量:2
下载量:0
时间:
meanwhile有其间;同时等意思,那么你知道meanwhile的用法吗?下面跟着读文网小编一起来学习一下,希望对大家的学习有所帮助!
1. Meanwhile, melt the white chocolate in a bowl suspended over simmering water.
同时,把碗置于微沸的水上,将白巧克力放入碗中使其熔化。
2. The media, meanwhile, has blown hot and cold on the affair.
同时,媒体对这件事的态度表现得忽冷忽热。
3. Meanwhile, sales of vinyl records halved in 1992 to just 6.7m.
与此同时,黑胶唱片的销售量在1992年下降了一半,只有670万张。
4. Meanwhile, Dusty Springfield's new TV series began a run on BBC 1.
同时,达斯蒂·斯普林菲尔德的电视剧新作开始在BBC1台播放。
5. Meanwhile, the domestic debate on Denmark's future role in Europe rages on.
与此同时,国内也展开了有关丹麦未来在欧洲扮演何种角色的激烈争论。
6. Meanwhile the race is on to resurface the road before next Wednesday.
与此同时正赶着在下周三之前把路面重新铺好。
7. You, meanwhile, will be skulking in the safety of the car.
与此同时,你会安全地藏在汽车里。
8. Meanwhile, back in London, Palace Pictures was collapsing.
与此同时,伦敦的皇宫影业公司也正在分崩离析。
9. Meanwhile, the boredom is excruciating.
同时,又无聊得让人苦恼不已。
10. Meanwhile the personality cult around this campaigner grew.
同时,对这位竞选者的个人崇拜正在逐渐升温。
11. The public, meanwhile, hold architects in low esteem.
与此同时,公众对建筑师并不看重。
12. Meanwhile, as the politicians haggle, the violence worsens.
在政客们大打嘴仗的同时,暴力事件愈演愈烈。
13. The doctor will see you again next week. Meanwhile, you must rest as much as possible.
医生下周还会给你看病。在此期间,你一定要尽可能多休息。
14. Meanwhile we must do a good job in transport and communications.
同时我们要搞好交通运输工作.
15. I continued working, meanwhile, he went out shopping.
我继续工作, 这期间他出去买东西.
浏览量:3
下载量:0
时间:
c语言中while的用法的用法你知道吗?下面小编就跟你们详细介绍下c语言中while的用法的用法,希望对你们有用。
while语句的一般形式为:
while(表达式) 语句
其中表达式是循环条件,语句为循环体。
while语句的语义是:计算表达式的值,当值为真(非0)时, 执行循环体语句。其执行过程可用下图表示。
【例6-2】用while语句计算从1加到100的值。用传统流程图和N-S结构流程图表示算法,见图:
01.#include <stdio.h>
02.int main(void){
03. int i,sum=0;
04. i=1;
05. while(i<=100){
06. sum=sum+i;
07. i++;
08. }
09. printf("%d",sum);
10. return 0;
11.}
【例6-3】统计从键盘输入一行字符的个数。
01.#include <stdio.h>
02.int main(void){
03. int n=0;
04. printf("input a string:");
05. while(getchar()!='') n++;
06. printf("%d",n);
07. return 0;
08.}
本例程序中的循环条件为getchar()!='',其意义是,,只要从键盘输入的字符不是回车就继续循环。循环体n++完成对输入字符个数计数。从而程序实现了对输入一行字符的字符个数计数。
使用while语句应注意以下两点。
1) while语句中的表达式一般是关系表达或逻辑表达式,只要表达式的值为真(非0)即可继续循环。
01.#include <stdio.h>
02.int main(void){
03. int a=0,n;
04. printf(" input n: ");
05. scanf("%d",&n);
06. while (n--) printf("%d ",a++*2);
07. return 0;
08.}
本例程序将执行n次循环,每执行一次,n值减1。循环体输出表达式a++*2的值。该表达式等效于(a*2; a++)。
2) 循环体如包括有一个以上的语句,则必须用{}括起来,组成复合语句。
浏览量:2
下载量:0
时间:
c中while的用法的用法你知道吗?下面小编就跟你们详细介绍下c中while的用法的用法,希望对你们有用。
while语句的一般形式为:
while(表达式) 语句
其中表达式是循环条件,语句为循环体。
while语句的语义是:计算表达式的值,当值为真(非0)时, 执行循环体语句。其执行过程可用下图表示。
【例6-2】用while语句计算从1加到100的值。用传统流程图和N-S结构流程图表示算法,见图:
01.#include <stdio.h>
02.int main(void){
03. int i,sum=0;
04. i=1;
05. while(i<=100){
06. sum=sum+i;
07. i++;
08. }
09. printf("%d",sum);
10. return 0;
11.}
【例6-3】统计从键盘输入一行字符的个数。
01.#include <stdio.h>
02.int main(void){
03. int n=0;
04. printf("input a string:");
05. while(getchar()!='') n++;
06. printf("%d",n);
07. return 0;
08.}
本例程序中的循环条件为getchar()!='',其意义是,,只要从键盘输入的字符不是回车就继续循环。循环体n++完成对输入字符个数计数。从而程序实现了对输入一行字符的字符个数计数。
使用while语句应注意以下两点。
1) while语句中的表达式一般是关系表达或逻辑表达式,只要表达式的值为真(非0)即可继续循环。
01.#include <stdio.h>
02.int main(void){
03. int a=0,n;
04. printf(" input n: ");
05. scanf("%d",&n);
06. while (n--) printf("%d ",a++*2);
07. return 0;
08.}
浏览量:2
下载量:0
时间:
check表达的意思有很多种,那么你知道check做动词,名词分别都有哪些意思吗?下面读文网小编为大家带来check的英语意思解释和英语例句,欢迎大家一起学习!
英 [t?ek] 美 [t??k]
浏览量:3
下载量:0
时间:
blue表达的意思有很多种,那么你知道blue做动词,名词和形容词分别都有哪些意思吗?下面读文网小编为大家带来blue的英语意思解释和英语例句,欢迎大家学习!
1. She was a shy, delicately pretty girl with enormous blue eyes.
她是一个害羞、娇美的女孩,长着一双大大的蓝眼睛。
2. Queen Mary started the fashion for blue and white china in England.
玛丽女王开启了青花瓷在英格兰的流行风尚。
3. She stared dreamily out of the small window at the blue horizon.
她出神地看着小窗子外面的蓝色地平线。
4. They pried open a sticky can of blue paint.
他们撬开了一个黏糊糊的蓝色油漆桶。
5. He stared at me out of those washed-out blue eyes.
他用暗淡无神的蓝眼睛盯着我看。
6. Her silk shirtdress was sky-blue, the colour of her eyes.
她一袭天蓝色的真丝衬衫式连身裙,和她的双眸颜色一样。
7. The blue whale is the largest living thing on the planet.
蓝鲸是地球上体型最大的生物。
8. He put the flowers in a wide-mouthed blue vase.
他把花放进蓝色阔口花瓶里。
9. Whenever she refused, he'd beat her black and blue.
只要她拒绝他,他就会把她打得青一块紫一块。
10. A figure in a blue dress appeared in the doorway.
一个穿着蓝色连衣裙的身影出现在门口。
11. He felt strangely exhilarated by the brisk, blue morning.
那个凉爽而晴朗的早晨让他异常兴奋。
12. He has clear blue eyes and a dazzling smile.
他有一双清澈的蓝眼睛和一脸灿烂的微笑。
13. Red, white and blue bunting hung in the city's renovated train station.
红、白、蓝彩旗装点着该市修复一新的火车站。
14. Liz picked up the blue envelope and turned it over curiously.
莉兹拿起蓝色信封,好奇地翻过来看。
15. He wore a plain blue shirt, open at the collar.
他穿一件素净的蓝色衬衫,领口敞着。
浏览量:3
下载量:0
时间: