Article View: es.comp.os.linux.programacion
Article #7525Re: Pasar parámetros desde la línea de comandos en C
From: Zahori
Date: Sun, 23 Feb 2003 16:58
Date: Sun, 23 Feb 2003 16:58
30 lines
2098 bytes
2098 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El Domingo, 23 de Febrero de 2003 16:28, davidbg escribi� en
<3E58E8A7.5040506@grn.es>:
> Pues eso, alguien me podr�a decir como recuperar los par�metros
> que se le pasan al programa al hacer la llamada, desde c�digo C??
Para eso tienes los par�metros argc y argv del main.
saludos,
- --
Zahor�
Clave p�blica:
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x2B71812D
Vaya, hoy estoy bastante pol�tico. Es que me he dado cuenta de que
'tolerancia cero' solamente significa poner m�s polic�a en las zonas
pobres y no en la Bolsa.
-- Terry Pratchett, alt.fan.pratchett.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+WP2oQhcKRStxgS0RAmDOAJ4gaBir4fqhW1ch5o/P++vkAJta3QCgpbCZ
PFBBhmWbZ6ZA0+ZWzNCTDc8=
=4TFM
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<1046019421.718355@seux119>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!btnet-peer!btnet!newsfeed.bt.es!news.bt.es!not-for-mailReferences:
<3E58E8A7.5040506@grn.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,13750e97090b905a X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-02-23 09:02:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!btnet-peer!btnet!newsfeed.bt.es!news.bt.es!not-for-mail From: Zahori <zahori@siritinga.es> Newsgroups: es.comp.os.linux.programacion Subject: Re: Pasar parámetros desde la línea de comandos en C Date: Sun, 23 Feb 2003 17:58:13 +0100 Organization: Siritinga Lines: 30 Message-ID: <1046019421.718355@seux119> References: <3E58E8A7.5040506@grn.es> NNTP-Posting-Host: 212.79.128.146 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: titan.bt.es 1046018306 20586 212.79.128.146 (23 Feb 2003 16:38:26 GMT) X-Complaints-To: abuse@bt.es NNTP-Posting-Date: 23 Feb 2003 16:38:26 GMT User-Agent: KNode/0.7.2 Cache-Post-Path: seux119!unknown@cliente-217216162251.cm128.manpc.supercable.es X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)