Article View: fr.comp.lang.c
Article #15424Re: conjugaison et autres exos sur les chaines [Was : Un syst�me de conj...]
From: Alain CROS
Date: Mon, 19 Sep 2005 14:08
Date: Mon, 19 Sep 2005 14:08
31 lines
2357 bytes
2357 bytes
Bonjour.
| Compte tenu de la remarque d'Emmanuel, la version suivante me semble plus
| simple et plus concise :
|
| #include <stdlib.h>
| #include <stdio.h>
| int
| main( int argc, char ** argv )
| {
| char ** argp ;
Si on �crit cette ligne :
| for ( argp = argv ; *(++argp) != NULL ; )
comme �a :
for ( argp = argv ; *(++argp);)
�a fonctionne aussi mais est ce robuste?
| {
| fprintf( stdout, "%s ", *argp ) ;
| }
| fprintf( stdout, "\n" ) ;
| return( EXIT_SUCCESS ) ;
| }
|
| Et puis �a donne un peu de travail � Candide por comprendre. Quand il
| aura compris les diff�rentes versions, il aura avanc� pas mal.
Merci.
Alain CROS
Technical Details
Message-ID:
<432ec68e$0$3758$626a14ce@news.free.fr>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mailReferences:
<1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <mn.837a7d59123d924a.15512@YOURBRAnoos.fr> <432adddf$0$17220$8fcfb975@news.wanadoo.fr> <mn.84407d597cfa6e6e.15512@YOURBRAnoos.fr> <432b2a92$0$7861$8fcfb975@news.wanadoo.fr> <432c19e0$0$1710$8fcfb975@news.wanadoo.fr> <432cad90$0$27422$8fcfb975@news.wanadoo.fr> <432d1b7c$0$1743$8fcfb975@news.wanadoo.fr> <432d3117$0$1742$8fcfb975@news.wanadoo.fr> <mn.93877d590449a7bc.15512@YOURBRAnoos.fr> <432d7667$0$17248$8fcfb975@news.wanadoo.fr> <mn.94047d599f0cc076.15512@YOURBRAnoos.fr> <432da70c$0$1735$8fcfb975@news.wanadoo.fr> <432dd52f$0$622$626a14ce@news.free.fr> <mn.95687d59be8517f2.15512@YOURBRAnoos.fr> <432df189$0$2933$626a14ce@news.free.fr> <432e973a$0$1013$8fcfb975@news.wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,b21b26167a936e28 X-Google-Attributes: gidf9822,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mail From: "Alain CROS" <Personne@ICI> Newsgroups: fr.comp.lang.c References: <1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <mn.837a7d59123d924a.15512@YOURBRAnoos.fr> <432adddf$0$17220$8fcfb975@news.wanadoo.fr> <mn.84407d597cfa6e6e.15512@YOURBRAnoos.fr> <432b2a92$0$7861$8fcfb975@news.wanadoo.fr> <432c19e0$0$1710$8fcfb975@news.wanadoo.fr> <432cad90$0$27422$8fcfb975@news.wanadoo.fr> <432d1b7c$0$1743$8fcfb975@news.wanadoo.fr> <432d3117$0$1742$8fcfb975@news.wanadoo.fr> <mn.93877d590449a7bc.15512@YOURBRAnoos.fr> <432d7667$0$17248$8fcfb975@news.wanadoo.fr> <mn.94047d599f0cc076.15512@YOURBRAnoos.fr> <432da70c$0$1735$8fcfb975@news.wanadoo.fr> <432dd52f$0$622$626a14ce@news.free.fr> <mn.95687d59be8517f2.15512@YOURBRAnoos.fr> <432df189$0$2933$626a14ce@news.free.fr> <432e973a$0$1013$8fcfb975@news.wanadoo.fr> Subject: Re: conjugaison et autres exos sur les chaines [Was : Un syst�me de conj...] Date: Mon, 19 Sep 2005 16:08:46 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Lines: 33 Message-ID: <432ec68e$0$3758$626a14ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 19 Sep 2005 16:09:19 MEST NNTP-Posting-Host: 62.147.58.208 X-Trace: 1127138959 news18-e.free.fr 3758 62.147.58.208:1068 X-Complaints-To: abuse@proxad.net