C++ Function Pointers

From: chetan (rolf21_at_indiatimes.com)
Date: 10/31/04


Date: 31 Oct 2004 07:01:57 -0800

How to initialise a function pointer for any particular function in
C++ ?

so that it would clearly specify difference between the functions that
are called by different objects of that class ...
i.e
instead of

a.function();
or
b.function();

use of this -->
int (*funcptr)(void); ???? How ?



Relevant Pages

  • Re: C++ Function Pointers
    ... > How to initialise a function pointer for any particular function in ... > so that it would clearly specify difference between the functions that ... How can a function pointer 'specify the difference ...
    (comp.lang.cpp)
  • Re: C++ Function Pointers
    ... >> How to initialise a function pointer for any particular function in ... >> so that it would clearly specify difference between the functions that ... >int Blah ...
    (comp.lang.cpp)
  • Re: C++ Function Pointers
    ... > How to initialise a function pointer for any particular function in ... > so that it would clearly specify difference between the functions that ... want to call a class member function by a function pointer, ...
    (comp.lang.cpp)