it would be kind of someone to help with the issue:
i have a function within a class
class A
{
void fcn1(double *p, double *hx, int m, int n, void *adata);
void fcn2();
}
inside fcn2 i am trying to use pointer to fcn1 as follows:
A::fcn2()
{
void (*pfcn1)(double*, double*, int, int, void*) = fcn1;
}
and i am getting an error:
error C3867: 'A::fcn': function call missing argument list; use '&A::fcn' to create a pointer to member
it would be kind of someone to help.
Thanks
See Question&Answers more detail:os