Article View: fr.comp.lang.c
Article #15554Re: conjugaison et autres exos sur les chaines [Was : Un système de conj...]
From: Pierre Habouzit
Date: Sun, 18 Sep 2005 21:00
Date: Sun, 18 Sep 2005 21:00
44 lines
2861 bytes
2861 bytes
candide wrote:
> Il a une particularit� remarquable qui le rend non trivial (pour reprendre
> ton vocabulaire) � un d�butant : on n'a pas main(). Or, justement TOUS
> (sans aucune exception) les exemples ant�rieurs dans le KR ont un un main
> qui est de la forme main(). Je cite le KR mais dans tous les bouquins que
> j'ai lus, on ne voit que du main(). Ca peut d�sar�onner. Et en plus, je ne
> suis pas entr� dans le d�tail du code, je suis s�r qu'il y a encore pas
> mal de boulot.
arr�te ton char.
�crire :
========
#include <stdio.h>
int main(int argc, char **argv)
{
int n;
for (n = 1; n < argc; n++) {
printf("%s ", argv[n]);
}
if (argc > 0) {
printf("%s\n", argv[argc]);
}
return 0;
}
========
*c'est* trivial. si �a te d�sar�onne, ou que c'est expliqu� uniquement dans
le dernier chapitre du livre sur C que tu lis, tu as deux choix :
(1) change de livre,
(2) change de langage.
--
�O� Pierre Habouzit
��O madcoder@debian.org
OOO http://www.madism.org
Technical Details
Message-ID:
<432dd52f$0$622$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>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
Message-ID: <432dd52f$0$622$626a14ce@news.free.fr>
From: Pierre Habouzit <madcoder@debian.org>
Subject: Re: conjugaison et autres exos sur les chaines [Was : Un système de conj...]
Newsgroups: fr.comp.lang.c
Date: Sun, 18 Sep 2005 23:00:26 +0200
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>
User-Agent: KNode/0.9.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
X-Face: $(^e[V4D-[`f2EmMGz@fgWK!e.B~2g.{08lKPU(nc1J~z\4B>*JEVq:E]7G-\6$Ycr4<;Z!|VY6Grt]+RsS$IMV)f>2)M="tY:ZPcU;&%it2D81X^kNya0=L]"vZmLP+UmKhgq+u*\.dJ8G!N&=EvlD
Lines: 44
Organization: Guest of ProXad - France
NNTP-Posting-Date: 18 Sep 2005 22:59:27 MEST
NNTP-Posting-Host: 82.225.205.10
X-Trace: 1127077167 news18-e.free.fr 622 82.225.205.10:37241
X-Complaints-To: abuse@proxad.net