What are function pointers good for ?

Posted by gramm on Stack Overflow See other posts from Stack Overflow or by gramm
Published on 2010-04-07T11:55:18Z Indexed on 2010/04/07 12:03 UTC
Read the original article Hit count: 223

Filed under:
|
|

Hi, I have trouble seing the utility of the function pointers. I guess it may be useful in some case (it exists, after all), but I can't think of a case where it's better or unavoidable to use a function pointer.

Could you give some example of good use of function pointers (in C or C++)?

Many thanks :)

© Stack Overflow or respective owner

Related posts about c++

Related posts about function