Xavier CHERIF wrote:

> 
> http://www.lysator.liu.se/c/bwk-tutor.html
> ch 27

Vous avez lu la fin, mais pas le debut... 8-)

Disclaimer: This ``tutorial'' is presented as a historical document, not as a
tutorial.  Although it has lost little of its didactic value, it describes a
language that C compilers today do no longer understand: the C of 1974, four
years before Kernighan and Ritchie published the first edition of ``The C
Programming Language''.

Donc, ... 1974...

> 
> les deux examples qu'il donne sont:
> <--->
> One use of goto's with some legitimacy is in a program which contains  a
> long loop, where a while(1) would be too extended.  Then you might  write
> 
>            mainloop:
>                 ...
>                 goto mainloop;

Je considere que l'utilisation de goto dans le cas ci-dessus est a proscrire.

> Another use is to implement a break out of more than one level of for 
> or while.  goto's can only branch to labels within the same function.
> <--->
> 
> et on est clairement pas dans ce cas la....

Vous avez lu la fin, mais pas le debut... 8-)

Disclaimer: This ``tutorial'' is presented as a historical document, not as a
tutorial.  Although it has lost little of its didactic value, it describes a
language that C compilers today do no longer understand: the C of 1974, four
years before Kernighan and Ritchie published the first edition of ``The C
Programming Language''.

> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> Solaris_fr liste de diffusion en français pour Solaris, sur toutes 
> architectures
> [email protected]
> http://x86.sun.com/mailman/listinfo/solaris_fr


-- 
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
 Ecole des Mines de Paris              http://j-chkmail.ensmp.fr
 60, bd Saint Michel                http://www.ensmp.fr/~martins
 75272 - PARIS CEDEX 06      mailto:[EMAIL PROTECTED]


_______________________________________________
Solaris_fr liste de diffusion en français pour Solaris, sur toutes architectures
[email protected]
http://x86.sun.com/mailman/listinfo/solaris_fr

Répondre à