Article View: es.comp.os.linux.programacion
Article #8722Re: problemas con argumentos
From: xsidius
Date: Sun, 20 Oct 2002 13:46
Date: Sun, 20 Oct 2002 13:46
26 lines
1772 bytes
1772 bytes
En el art�culo <3DB2AB31.8070509@lycos.es>, quantium escribi�:
#include <stdio.h>
void funcion(void);
int main(int argc,char *argv[])
{
funcion(argc,argv);
return 0;
}
void funcion(int argc,char *argv[]){
printf("en total tienes %i argumentos\n",argc);
printf("y el programa se llama: %s\n",argv[0]);
}
--
Yo ire dando mordiscos al aire si te como ser�
s�lo culpa tuya (Homer hablando a una tarta).
-------------------------------------------
David Hern�ndez <dahernan@telecable.es>
xsidius <xsidius@escomposlinux.org>
-------------------------------------------
Technical Details
Message-ID:
<slrnar5ct8.td.xsidius@dhp.net.dhis.org>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!kibo.news.demon.net!demon!peer1.news.newnet.co.uk!proxad.net!fr.usenet-edu.net!usenet-edu.net!jussieu.fr!news.rediris.es!newsfeed.bt.es!newsfeed.telecable.es!not-for-mailReferences:
<3DB2AB31.8070509@lycos.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,d35a912851c9a862 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-10-20 06:47:49 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!kibo.news.demon.net!demon!peer1.news.newnet.co.uk!proxad.net!fr.usenet-edu.net!usenet-edu.net!jussieu.fr!news.rediris.es!newsfeed.bt.es!newsfeed.telecable.es!not-for-mail From: xsidius <xsidius@escomposlinux.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: problemas con argumentos Date: Sun, 20 Oct 2002 13:46:17 +0000 (UTC) Organization: Telecable S.A. Lines: 27 Message-ID: <slrnar5ct8.td.xsidius@dhp.net.dhis.org> References: <3DB2AB31.8070509@lycos.es> NNTP-Posting-Host: 81.9.146.193 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: filemon2.isp.telecable.es 1035121577 10648 81.9.146.193 (20 Oct 2002 13:46:17 GMT) X-Complaints-To: abuse@telecable.es NNTP-Posting-Date: Sun, 20 Oct 2002 13:46:17 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux)