Article View: es.comp.os.linux.programacion
Article #11614Re: Como pasar a una funcion.....
From: J.A. Gutierrez
Date: Tue, 30 Oct 2001 17:25
Date: Tue, 30 Oct 2001 17:25
27 lines
1733 bytes
1733 bytes
sernafa <snf@apdo.com> wrote: : J.A. Gutierrez wrote: :> sernafa <snf@apdo.com> wrote: :> : :> : funcion(dato,p); :> : :> : pero como los parametros pueden ser de cualquier tipo, pues no :> : se como hacerlo. :> :> yo diria que con stdarg(3) :> :> : Lo habia pensado, pero querria hacerlo de otra forma, como se comenta en el : otro post, con punteros void, pero no se aun como.... no lo he pensado mucho, pero dado que no solo necesitas pasar el puntero, sino tambien el dato, creo que no es posible hacerlo con void * -- PGP and other useless info at \ http://www.cps.unizar.es/~spd/ \ finger://daphne.cps.unizar.es/spd \ Timeo Danaos et dona ferentes ftp://ivo.cps.unizar.es/pub/ \ (Virgilio)
Technical Details
Message-ID:
<9rmnq1$4mb$1@news.unizar.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.rediris.es!news.unizar.es!not-for-mailReferences:
<9rjhp1$mec$1@news.wanadoo.es> <9rjl67$aar$1@news.unizar.es> <9rkki7$d0r$1@news.wanadoo.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,21e8a17fbbc6edc2
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-10-30 09:02:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.rediris.es!news.unizar.es!not-for-mail
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Como pasar a una funcion.....
Date: 30 Oct 2001 17:25:21 GMT
Organization: Rank
Lines: 27
Message-ID: <9rmnq1$4mb$1@news.unizar.es>
References: <9rjhp1$mec$1@news.wanadoo.es> <9rjl67$aar$1@news.unizar.es> <9rkki7$d0r$1@news.wanadoo.es>
NNTP-Posting-Host: daphne.cps.unizar.es
X-Trace: news.unizar.es 1004462721 4811 155.210.152.20 (30 Oct 2001 17:25:21 GMT)
X-Complaints-To: usenet@news.unizar.es
NNTP-Posting-Date: 30 Oct 2001 17:25:21 GMT
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (IRIX/6.2 (IP22))