🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15538

Re: conjugaison et autres exos sur les chaines [Was : Un système de conj...]

#15538
From: Emmanuel Delahaye
Date: Sun, 18 Sep 2005 13:03
30 lines
2452 bytes
candide wrote on 18/09/05 :
> J'utilise gcc, via Dev-cpp sous XP et dans une Konsole sous Linux.
> Alors je veux bien que quelqu'un me dise quel source pour faire un 
> programme que je vais nommer 
>     	    	    	    	    	afficher 
> et qui dans un shell agirait ainsi :
>
> $ afficher la vie est belle
> la vie est belle
>
> ie afficher, comme son nom l'indique, affiche les arguments qui suivent son 
> appel.

C'est trivial pour qui connait les bases du langage C.

> En �crivant cela, le souvenir m'est revenu que dans K&R, j'avais vu un truc 
> sur �a et en effet il y a un � command-line argument mais �a n'a pas l'air 
> tr�s simple.

C'est tr�s simple et c'est expliqu� dans le manuel. Au lieu de 
bavarder, tu ferais mieux de faire des exercices...

-- 
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html

"Clearly your code does not meet the original spec."
"You are sentenced to 30 lashes with a wet noodle."
-- Jerry Coffin in a.l.c.c++
Technical Details
Message-ID: <mn.93877d590449a7bc.15512@YOURBRAnoos.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mail
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>

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!news2.google.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mail
Subject: Re: conjugaison et autres exos sur les chaines [Was : Un système de conj...]
From: "Emmanuel Delahaye" <emdel@YOURBRAnoos.fr>
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>
Newsgroups: fr.comp.lang.c
Message-ID: <mn.93877d590449a7bc.15512@YOURBRAnoos.fr>
X-Newsreader: MesNews/1.04.00.00-fr
Date: Sun, 18 Sep 2005 15:03:42 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 32
Organization: Guest of ProXad - France
NNTP-Posting-Date: 18 Sep 2005 15:03:46 MEST
NNTP-Posting-Host: 81.65.109.78
X-Trace: 1127048626 news18-e.free.fr 14377 81.65.109.78:27691
X-Complaints-To: abuse@proxad.net