Original Post
Hello I know how to use standard function pointers in C++. eg; float (*funcpointer1)(arg1, arg2); void (*funcpointer2)(arg1, arg2); but how to declare other non-primitive type like return type of self-defined structure or CALLBACK (which I need) struct Vector {...}; Vector (*funcpointer2)(arg1, arg2); // doesn't work CALLBACK (*funcpointer1)(arg1, arg2); // doesn't work Can anyone tell me how to use CALLBACK function pointers (or any other return-type which isn't standard void, float etc )