![]() |
Need Some Help with function pointers
How do u declare a function pointer which takes a void pointer and returns a void pointer.
so the function pointer should point to something like void * process(void * data) { } i tried sthing like (void *) (function *)(void *) but doesnt work!!! opinions and view please ( even solutions will do... ) ;) |
Re: Need Some Help with function pointers
You were pretty close!
Code:
#include <stdio.h>Also read this - http://www.newty.de/fpt/index.html |
| All times are GMT +5.5. The time now is 20:35. |