PDA

View Full Version : Passing function pointers


Demosthenes
2005-02-17, 05:18 PM
Here's a situation I've never encountered before: Does anyone know if function pointers can be passed as arguments?

Demosthenes
2005-02-17, 05:27 PM
Here's a situation I've never encountered before: Does anyone know if function pointers can be passed as arguments?

Never mind. Just figured out I can. Thanks for taking the time to read this anyway.

WetWired
2005-02-18, 12:05 PM
Just remember that the function name by itself is an address and that you don't need to dereference a function pointer to call it.

Demosthenes
2005-02-18, 01:56 PM
Just remember that the function name by itself is an address and that you don't need to dereference a function pointer to call it.

Thanks WW. :)

slaynish
2005-03-05, 10:19 PM
When i read this title, i read

Password Fucking Pointers