🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.c++.leda
1 messages
1 total messages Started by Ramin Aghazadeh Mon, 11 Sep 1995 01:37
Passing member functions as parameter
#77
Author: Ramin Aghazadeh
Date: Mon, 11 Sep 1995 01:37
17 lines
942 bytes
Hi guys,

I have the following C code in a precompiled C library :

typedef void* (*PF)(void*);

void* Cfunction(PF fPtr,void* vPtr);

I have to call this Cfunction from C++ environment and pass it
the parameter fPtr which is going to be the member function of
some calss, is this possible ?. If you have some ideas I sure do
appreciate it. Please note that the problem is not simply calling
C from C++ but rather it is passing a member function to the C
function.

Thank you 
Ramin
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads