Hi all!
I need a function that take a number of pointer to function arguments defined by its first argument.
I usually solve the problem with a single (or a fixed number of) argument using something like this:
My problem arise when i want to have the first argument of ex to be number of float function arguments that ex have to accept: how can i tell to va_arg the type of an argument of this sort?Code:... float f(float x); void ex( float (*f)(float x) );



LinkBack URL
About LinkBacks



