🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #14506

RE: Punteros a funciones en C++

#14506
From: C Natra
Date: Fri, 03 Nov 2000 12:45
9 lines
1415 bytes
Justo ayer estuve lidiando con el mismo problema cerca de 5 horas. La soluci�n es poner el prototipo de la funci�n id�nticamente igual al prototipo que te dan en la librer�a e implementar la funci�n del mismo modo.

Entonces cuando usas la funci�n no te da problemas. Si la funci�n te devuelve valores m�nimamente diferentes a los que est�n declarados, pues a la hora de asignarlos, usa el casting para corregir la asignaci�n.

Es lo m�s que te puedo decir. Si quieres te paso el pedazo de c�digo que me daba problemas ya solucionado.    -QUE TE SEA UTIL-   Yo.



Enviado desde http://www.aforo.com
Technical Details
Message-ID: <8tuc1n$1s9$1@diana.bcn.ttd.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
References: <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com> <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,9ece04ddd9e65ba1
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2000-11-03 04:48:27 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
From: C Natra <fcnatra@yahoo.com>
Newsgroups: es.comp.os.linux.programacion
Subject: RE: Punteros a funciones en C++
Date: 3 Nov 2000 12:45:43 GMT
Organization: Telefonica Transmision de Datos
Lines: 11
Message-ID: <8tuc1n$1s9$1@diana.bcn.ttd.net>
References: <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com> <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com>
NNTP-Posting-Host: 212.66.166.72