for(int i1 = 0,i2 = 0; i1< n1&& i2< n2; i1 + = 2,i2 + = 4)
Jak zapisa? pêtlêfor,aby po ka?dej iteracji zmiennai1zwiêksza3asiêo2,
a i2 o 4.
$ b $bDziêki
Jak zapisa? pêtlê for, aby po ka?dej iteracji zmienna i1 zwiêksza3a siê o 2,
a i2 o 4.
Dziêki
在英文中,如何编写for循环来在每次迭代后更改i1和i2?
谢谢
In english, how to write for loop to change i1 and i2 after each iterations?
Thanks
hokus写于28/09/05:
hokus wrote on 28/09/05 :
Jak zapisa ?? P 21 TL? for,aby po ka ?? dej iteracji zmienna i1 zwi ?? ksza ?? a si ?? o 2,
a i2 o 4.
Dzi ?? ki
Jak zapisa?? p??tl?? for, aby po ka??dej iteracji zmienna i1 zwi??ksza??a si?? o 2,
a i2 o 4.
Dzi??ki
我的波兰人生锈了。请尝试新闻:pl.comp.lang.c
谢谢。
-
Emmanuel
C-FAQ: http:// www。 eskimo.com/~scs/C-faq/faq.html
C库: http://www.dinkumware.com/refxc.html
"它已被指定。但任何编写这样代码的人都应该将这些代码转化为蚯蚓并喂给鸭子。 - Chris Dollin CLC
My Polish is rusty. Please try news:pl.comp.lang.c
Thanks.
--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html
"It''s specified. But anyone who writes code like that should be
transmogrified into earthworms and fed to ducks." -- Chris Dollin CLC
hokus写于28/09/05:
hokus wrote on 28/09/05 :
在英语中,如何编写for循环来改变i1和i2每次迭代后?
谢谢
In english, how to write for loop to change i1 and i2 after each iterations?
Thanks
请将您的代码放在正文中。我无法阅读主题专栏(太多
小字符)。
-
Emmanuel
C-FAQ: http:// www.eskimo.com/~scs/C-faq/faq.html
C库: http://www.dinkumware.com/refxc.html
" Mal nommer les choses c' 'est ajouter du malheur au
monde。" - Albert Camus。
Please place your code in the body. I can''t read the subject line (too
small characters).
--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html
"Mal nommer les choses c''est ajouter du malheur au
monde." -- Albert Camus.