for的用法!

kuaidi.ping-jia.net  作者:佚名   更新日期:2024-07-03
c语言中for的用法

printf("%d",x,y);
不会报错,printf是一个多参数的c函数,编译的时候,printf函数本身并不知道"引号"中需要多少个参数,它只是按照顺序从堆栈上取参数而已。所以用啥编译器都不会报告错误。
一个分号是一条语句,前缀先执行,后缀后执行。

To 和 for 的区别:一般情况下, to后面常接对象; for后面表示原因与目的为多。
1、to sb.表示对某人有直接影响比如,食物对某人好或者不好就用to;
2、for表示从意义、价值等间接角度来说,例如对某人而言是重要的,就用for。
3、for和to这两个介词,意义丰富,用法复杂。

扩展资料
for
英语单词简介
for后加动名词
人称加宾格
to
prep.
向,往,给...,于...,直到...为止,在...之前,比,对,[表示程度、范围] 到,达
情态动词后不加to直接加v.(原)
行为动词加to do sth.(如:need)
(表示时间)到, 直到, 在?到来之前, 离?; 例:from seven to ten
(表示方向)朝, 往, 通向
(表示状态)紧贴着, 紧靠着, 对着;
(表示对象)对, 对于, 对?来说;
(表示比较)比, 相对于;
(表示方位)在?方向[方位], 处于?顺序;
(表示距离)离, 距离;
(表示目标)到达, 直到;
(表示结果)转换为, 转变为, 趋于

for有很多种用法:
1.表示“当作、作为”.如:
I like some bread and milk for breakfast.我喜欢把面包和牛奶作为早餐.
What will we have for supper?我们晚餐吃什么?
2.表示理由或原因,意为“因为、由于”.如:
Thank you for helping me with my English.谢谢你帮我学习英语.
Thank you for your last letter.谢谢你上次的来信.
Thank you for teaching us so well.感谢你如此尽心地教我们.
3.表示动作的对象或接受者,意为“给……”、“对…… (而言)”.如:
Let me pick it up for you.让我为你捡起来.
Watching TV too much is bad for your health.看电视太多有害于你的健康.
4.表示时间、距离,意为“计、达”.如:
I usually do the running for an hour in the morning.我早晨通常跑步一小时.
We will stay there for two days.我们将在那里逗留两天.
5.表示去向、目的,意为“向、往、取、买”等.如:
Let’s go for a walk.我们出去散步吧.
I came here for my schoolbag.我来这儿取书包.
I paid twenty yuan for the dictionary.我花了20元买这本词典.
6.表示所属关系或用途,意为“为、适于……的”.如:
It’s time for school.到上学的时间了.
Here is a letter for you.这儿有你的一封信.
7.表示“支持、赞成”.如:
Are you for this plan or against it?你是支持还是反对这个计划?
8.用于一些固定搭配中.如:
Who are you waiting for?你在等谁?
For example,Mr Green is a kind teacher.比如,格林先生是一位心地善良的老师.

更多用法请参考网页链接



你好!
for 英[fə(r)] 美[fɔr,fə]
prep. 为,为了; 倾向于; 关于; 当作;
conj. 因为,由于;
[例句]Isn't that enough for you?
那对你来说不够吗?
For的短语
for the moment
[中考]现在,暂时
allow for
[中考]考虑到
call for
[中考]邀请,要求,需求
make for
[中考]走向,驶向,有助于
pay for
[中考]付…...钱, 买
for example
[中考]例如
go for
[中考]竭力想取得,喜爱,支持,拥护
word for word
[中考]逐字地
account for
[中考]说明 (原因等)
run for
[中考]竞选
take for
[中考]把 …… 认为是,把 …… 看成是
for one thing
[中考]首先,一则
send for
[中考]派人去请,召唤,索取
for the first time
[中考]第一次
for instance
[中考]例如,举例说
prepare for
[中考]准备
look for
[中考]寻找
care for
[中考]照顾, 喜欢
for a while
[中考]暂时,一时
for the time being
[中考]暂时,眼下
stand for
[中考]代替,代表,意味着
ask for
[中考]请求, 寻求
apologize to sb. for sth.
[中考]为某事向某人道歉
be bad for
[中考]有害于
be famous for
[中考]因……而有名
be late for
[中考]迟到
be/get ready for
[中考]为……作准备
enter for
[中考]报名参加
for (the) purpose of
[中考]为了
for a moment
[中考]片刻,一会儿
for ever
[中考]永远
for the better
[中考]好转,改善
for the present
[中考]目前,暂时
for the sake of
[中考]为了 …… 起见
get ready for
[中考]为……作准备
go for a swim
[中考]去游泳
go in for
[中考]参加,从事于,酷爱
leave for
[中考]动身去
mistake for
[中考]误以为...
pay the way for
[中考]为 …… 铺平道路
praise sb. for sth.
[中考]为某事表扬某人
search for
[中考]搜寻, 搜查
sit for
[中考]参加
take a message for sb
[中考]给某人捎个口信
wait for
[中考]等待
go for walks
[中考] 去散步
places for animals to live
[中考] 动物居住的地方
be ready for
[中考]为……作好准备
be late for ……
[中考]迟到
get ready for (=be ready for)
[中考]为……作好准备
go out for a walk
[中考]外出散步
have bread and milk for breakfast
[中考]早饭吃面包和牛奶
make room/space for
[中考]给……腾出地方
set an example for
[中考]为……树立榜样
take sb. to a park/London for one's holidays
[中考]带某人去公园/伦敦度假
ask for leave
[中考]请假
thank for
[中考]为……感谢
for oneself
[中考]为自己
make/offer an apology to sb for sth.
[中考]因某事向某人认错或道歉
ask sb. for advice / help
[中考]请某人指点 / 帮助
a call for help
[中考]呼救声
make sth. for sb.
[中考]为某人做...
buy sth. for sb.
[中考]为某人买东西
stay in bed for another two days
[中考]再跟床上呆两天
thank sb. for ...
[中考]为...而感谢某人
a ticket for Shanghai
[中考]一张飞往上海的机票
for a long time
[中考]很长时间
go for a walk
[中考]去散步
take a message for sb.
[中考]给某人捎个信
be late for the first class
[中考]第一节课迟到
be sorry for
[中考]为...难过,遗憾
feel sorry for
[中考]为...难过,遗憾
be used for doing=be used to do sth.
[中考]被用于做某事
have a party for sb.
[中考]为某人举行一次聚会
have a surprise(surprising) party for sb.
[中考]为某人举行一个惊喜的聚会
study for ...test
[中考]为...考试而学习
play sports for a living
[中考]以运动为谋生
be late for school/class
[中考]上学/上课迟到
sb. pay some money for sth.
[中考]某人为某物付多少钱
take sth. for granted
[中考]想当然
ask for ...
[中考] 求助,向…要…(直接接想要的东西)
ask sb. for sth.
[中考] 向某人什么
be angry with(at) sb. for doing sth.
[中考] 为什么而生某人的气
be good for
[中考] 对什么有好处
be late for = come late to
[中考] 迟到
fit to sb. = be fit for sb.
[中考] 适合某人
get ready for = be ready for
[中考] 为什么而准备
It's a good idea for sb. to do sth.
[中考] 对... 来说是个好主意
It's time for sth.
[中考] 到了该去做某事的时间
It's time for class
[中考] 该去上课了
take walks = take a walk = go for a walk
[中考] 散步
wait for sb.
[中考] 等某人
wait for sb. to do sth.
[中考] 等某人做什么
wait for sometime
[中考] 等多少时间
enter oneself for a contest
[中考] 报名比赛
have a gift for music
[中考] 有音乐天分
have high hope for sb.
[中考] 对某人抱很大希望
make up for one's mistake
[中考] 弥补某人的过失   
place an order for sth.
[中考] 订购某物
go out for a picnic
[中考] 去野餐
provide food and clothes for one's family
[中考] 养家糊口
reach for sth.
[中考] 伸手去拿
for this reason
[中考] 为此,为此理由
make room for
[中考] 给...腾出地方
scold sb. for sth.
[中考] 为某事责备某人
be thankful to sb. for sth.
[中考] 因某事感谢某人
act for
[高考]代理
advertise for
[高考]登广告征求(寻找)某物
aim for
[高考]力争...,针对
apply for
[高考]提出申请(或要求等)
as for
[高考]至于,就...方面说
be adequate for
[高考]适合
be available for
[高考]有效
be eager for sth.
[高考]渴求某事物
be in for
[高考]参加(竞赛、考试等)
be known for
[高考]因...而众所周知
but for
[高考]倘没有,要不是
come for
[高考]来接人;来取物
cut out for
[高考]适合于,准备;面对
die for
[高考]渴望,切望
except for
[高考]除...之外
excuse sb. for sth.
[高考]原谅某人做了某事
figure for
[高考]谋取,企图获取
for ages
[高考]长期
for fear of
[高考]由于害怕;生怕,以免
for fear that
[高考]以免;生怕,唯恐
for lack of
[高考]因缺乏;因没有
for life
[高考]终身
forgive sb. for sth.
[高考]原谅某人(做了)某事
go on for
[高考]接近(时刻、年龄等)
good for
[高考]有效的;值...;胜任
head for
[高考]朝...方向走去
hunt for
[高考]搜寻;寻找;追猎
in exchange for
[高考]交换
in return for
[高考]作为...的交换
inquire for
[高考]询问(商店、地点等)
long for
[高考]渴望
make room for sb.
[高考]让出空地方给某人
make up for
[高考]补偿,弥补
reply for sb.
[高考]代表某人作答(或答辩)
save for
[高考]留供...用
struggle for
[高考]为...而斗争
treat sb. for
[高考]给某人医治...
wait up for
[高考]为...而等候着睡不着
watch out for
[高考]密切注意;戒备,提防
weep for
[高考]为...而哭泣
wish for
[高考]盼望,希望,想要
come for one's help
[高考]求某人帮助
famous for
[高考](=famous as)以...而出名
grateful for
[高考]为...表示感激
for long
[高考]很久,长久
reach for
[高考]伸手去拿(取)某种具体的实物
responsible for
[高考]对...负责(responsible to)
search ... for
[高考]在(某地)搜寻(某东西)
in search for
[高考](为了)寻找或寻求,for亦可用of代替
substitute for
[高考]代替,替换
for safety
[高考]为了安全,为了确保安全,为了安全起见
useful for
[高考]对...有用的(useful to)
be anxious for
[高考]渴望
be used for
[高考]被用作...,被用来作...
be dying for sth.
[高考]想要某物
take ... for example
[高考]拿...为例
have an eye for
[高考]能欣赏...
apply for a patent for ...
[高考]为...申请专利
make sacrifices for
[高考]为...牺牲
vote for / against the plan
[高考]投票赞成/反对这个计划
apply for a job / post / passport
[高考]申请工作 / 职位 / 护照
go overboard for / about
[高考]沉迷于;狂热地追求
labor for a better future
[高考]为更加美好的未来而努力
for sale
[大学]adv.待售
speak for
[大学]v.代表...讲话,要求得到,订购
come in for
[大学]接受,得到;遭受,挨…
try for
[大学]v.争取,谋求,申请
for good
[大学]永久地,一劳永逸地
for sure
[大学]肯定地,无疑地,确实地
for short
[大学]adv.简称,缩写
fall for
[大学]爱上,迷恋;受…骗,上…当
for certain
[大学]adv.肯定地
cry for
[大学]v.吵着要,恳求,迫切需要
answer for
[大学]对…负责,得到…的报应,为…承担责任
as for as
[大学] 就…而论,据…
for the best
[大学] (完全)出于好意
cast about for
[大学] 搜索,寻觅
decide for
[大学] 作对…有利的决定
do for
[大学] 对…有效;照应
do duty for
[大学] 当…用,起作用
fear for
[大学] 为…担心
for the future
[大学] 从今以后,在今后
listen for
[大学] 等着听…(的声音)
mark out for
[大学] 使…注定要
once for all
[大学] 一劳永逸地
be out for
[大学] 为图要;一心为
point for point
[大学] 确切地
press for
[大学] 催逼;迫切要求
by pressed for
[大学] 缺少,缺乏
be remarkable for
[大学] 以…而著称
have respect for
[大学] 尊重;考虑
for the rest
[大学] 至于其余,至于其它
see for oneself
[大学] 亲眼看,自己去看
send away for
[大学] 函索
settle for
[大学] 对…感到满足,满足于
speak well for
[大学] 证明…很好
stand up for
[大学] 为…辩护;维护;坚持
take thought for
[大学] 对…担心;对…挂念
speak volume for
[大学] 充分说明
for what it is worth
[大学] 不论真假
for all that
[大学] 尽管,虽然
be to blame for
[大学] 对…应负责任
be bound for
[大学] 准备到…去;开往
be hard up for money
[大学] 缺钱,手头紧
never for a moment
[大学] 决不,从来没有
stick out for
[大学] 坚持索取
for free
免费地,无偿地
thirst for knowledge
渴望求知
food for thought
值得思索的问题,耐人寻味的道理
cry out for
迫切需要
cover for
v. 代替
estate for life
终身财产,固定资产
for a song
adv.非常便宜地
go for broke
冒破产的风险,冒险,孤注一掷
ask for trouble
自讨苦吃,自寻烦恼,自找麻烦
shoot for
v.争取,得到(或完成)
for dear life
拼命地,为了逃命
for the most part
在很大程度上,多半,大多
take for granted
想当然认为
for some reason
由于某种原因,不知怎么回事
for good measure
adv.作为额外增添
international bank for reconstruction and development
【经】 国际复兴开发银行
for love or money
adv.无论如何
head for the hills
跑开,躲得远远的
for one
举个例子,例如,譬如
ask for it
自寻麻烦,自找苦吃
feel for
v.摸索,同情
economic commission for europe
【经】 联合国欧洲经济委员会
once and for all
一劳永逸地,永远,彻底地
for all practical purposes
adv.实际上
jump for joy
高兴得跳起来,欢呼雀跃
for anything
无论如何(不), 决(不)
for that matter
就此而言, 至于那个, 说到那一点
for all the world
无论如何,不管怎样;非常,极其
done for
不中用的
fend for
抚养,照料,养活…
quest for
v.追求,探索
grope for
v. 探索
plump for
支持,赞成,拥护
brace oneself for
为…作好思想准备;准备…
tit for tat
以牙还牙,针锋相对,一报还一报
for the asking
一经索取…
the Hall of Prayer for Good Harvest
祈年殿
the Cultural Palace for Nationalities
民族文化宫

for的含义如下:
  ①prep.为;因为;代表;往;支持;关于;给
  ②conj.因为

  for的用法如下:
  ①for是并列连词,引导的是并列从句,表示原因的语气很弱,一般是对结果作出推断性的补充说明或解释,不表示直接原因,
for前多加逗号。

  ②for用法较正式,很少用于口语,一般用于书面语。

  for的例句如下:
  ①I am
speaking for all the workers in this firm. 我代表公司全体工作人员讲话。
  ②We set off for
London. 我们动身去伦敦。
  ③They are all for him. 他们都拥护他。

【用法】:

  1. (表目的)为了。

  2. (表利益)为,为了。

  3. (表用途)用于,用来。

  4. 为得到,为拿到,为取得。

  5. 给(某人),供(某人)用。

  6. (表原因、理由)因为,由于。

  7. (表目标、去向)去。

  8. (表时间、距离、数量等)达,计。

  9. 对,对于。

  10. (表适合)适于,适合。

  11. (表交换)换,以……作交换。

  12. 作为,当作。

  13. (表支持、赞成)支持,赞成。

  14. (表基准)就……来说,以……而言,作为。

  15. (表比例)每……就……。

  16. 代表,代替,代理。

  17. (表安排的时间)在,于。

  18. (表让步)尽管,虽然。

  19. (与不定式连用引出逻辑上的主语)。



  • for的用法!
    答:1. 表示“当作、作为”。如:I like some bread and milk for breakfast. 我喜欢把面包和牛奶作为早餐。What will we have for supper? 我们晚餐吃什么?2. 表示理由或原因,意为“因为、由于”。如:Thank you for helping me with my English. 谢谢你帮我学习英语。Thank you for your last ...
  • for的七种用法
    答:介词for的七种常见用法:(表目的)为了;(表利益)为,为了;(表用途)用于,用来;为得到,为拿到,为取得;给(某人),供(某人)用;(表原因、理由)因为,由于;(表目标、去向)去。1、(表目的)为了。例句:They went out for a walk.他们出去散步了。2、(表利益)为,为了。例句:...
  • for的用法和短语
    答:1、account for是…的原因;解释;占据。2、praise/punish/scold sb for...因..赞扬/惩罚/责骂某人。3、go for袭击;适用于;想要获得;喜爱。4、call for需要/要求;提倡;邀约/约请。5、make for向…前进;有利于/促进。for的例句:1、Pain is not irreparable like death! Never hate your e...
  • 英语单词 for 用法
    答:struggle for existence 生存竞争 go out for a walk 出去散步 [表示目标、去向]向, 往 leave for Shanghai 动身去上海 the train for Dalian 开往大连的火车 passengers for Beijing 去北京的旅客 He is getting on for sixty.他快到六十岁了。[表示对象、用途等]为, 对于; 适于; 供; 属于.....
  • for的用法
    答:for有很多种用法:1.表示“当作、作为”.如:I like some bread and milk for breakfast.我喜欢把面包和牛奶作为早餐.What will we have for supper?我们晚餐吃什么?2.表示理由或原因,意为“因为、由于”.如:Thank you for helping me with my English.谢谢你帮我学习英语.Thank you for your ...
  • for的用法大全,求通俗易懂的讲解
    答:2.用于(表示作用)This toy is forboys, not for girls.这玩具是给男孩玩的,而不是给女孩的。We have a kind of special ink for your pen.我们有一种特殊的墨水用于你的钢笔。3.向,朝(方向)Jane is leaving here for London.珍妮就要离开这里去伦敦。She was heading for the park.她...
  • for的用法
    答:for的用法 1、表示“当作、作为”。如:I like some bread and milk for breakfast.我喜欢把面包和牛奶作为早餐。2、表示理由或原因,意为“因为、由于”。如:Thank you for helping me with my English.谢谢你帮我学习英语。3、表示动作的对象或接受者,意为“给……”、“对…… (而言)”...
  • for的用法
    答:for 英音:[fɔ:] 美音:[fɔr]for 介词 prep.1.为,为了 They fought for national independence.他们为民族独立而战。This letter is for you.这是你的信。2.代替;代表 We used boxes for chairs.我们用箱子当椅子坐。3.因为,由于 I am sorry for what I said to you...
  • "for”的用法都有哪些
    答:用法1:(表目的)为了。如:They went out for a walk. 他们出去散步了。What’s she gone for this time? 她这次去干什么去了?【用法说明】在通常情况下,英语不用 for doing sth 来表示目的。如:他去那儿看他叔叔。误:He went there for seeing his uncle.正:He went there to see ...
  • 介词for的用法有哪些?
    答:for"面值……"She handed me a bill for $100. 她给了我一张100美元的帐单。介词of用法 1: 表示剥夺,除去 clarify the river of flowing rubbish 2: of接直接宾语 remind sb. of his duties 3: of接间接宾语 ask a question of sb 4: of表示人物的特性,籍贯,特性或出生等 He is of ...