[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]



i am writing a c fx with variable # of arguments, declared as

int my_func(int a, char b,...);

the problem is va_arg()(declared in stdarg.h) can not handle floats, it can handle int, char * etc
and my_func() needs to handle variable number of float args,
how can i use float in a function with variable number of args?

please suggest me a way around to handle this problem.

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.