🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: accès à un élément de *argv[]

#15042
From: Emmanuel Delahaye
Date: Sat, 15 Oct 2005 18:07
13 lines
1744 bytes
Pierre Maurette a �crit :
>> Quand on d�clare une fonction main comme ceci:
>> int main (int argc, char *argv[])
>>
>> *argv[], repr�sente un tableau dont chaque �l�ment est un pointeur
>> vers une chaine de caract�re.
> 
> *argv[] ne repr�sente mon avis rien de pr�cis, disons une erreur de 
> syntaxe.

Keskidi ? Dans le contexte d'un parametre, cette notation est tout � 
fait valable. char *argv[] est �quivallent (� un poil de grenouille 
pr�s) � char **argv
Technical Details
Message-ID: <4351456b$0$21287$626a54ce@news.free.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.tiscali.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!infeed-3.proxad.net!nnrp3-1.free.fr!not-for-mail
References: <1129375708.461315.266570@g14g2000cwa.googlegroups.com> <mn.7ba37d5a3355d570.31483@laposte.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,81ea3528af9bc77b
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.tiscali.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!infeed-3.proxad.net!nnrp3-1.free.fr!not-for-mail
Date: Sat, 15 Oct 2005 20:07:28 +0200
From: Emmanuel Delahaye <emdelYOURBRA@noos.fr>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: fr, en
MIME-Version: 1.0
Newsgroups: fr.comp.lang.c
Subject: Re: accès à un élément de *argv[]
References: <1129375708.461315.266570@g14g2000cwa.googlegroups.com> <mn.7ba37d5a3355d570.31483@laposte.net>
In-Reply-To: <mn.7ba37d5a3355d570.31483@laposte.net>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 13
Message-ID: <4351456b$0$21287$626a54ce@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 15 Oct 2005 20:07:39 MEST
NNTP-Posting-Host: 81.65.109.208
X-Trace: 1129399659 nnrp3-1.free.fr 21287 81.65.109.208:19515
X-Complaints-To: abuse@proxad.net