Returning a function pointer
I want to have a function that returns a pointer to another function.
Is that possible?
The compiler doesn''t accept a function prototype like this:
int(*)(int) GetPointer(void);
error C2059: syntax error : '')''
typedef void (*FuncPointer)(void);FuncPointer GetFunc(void);
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement