electa wrote:
i have used
#include <stdlib.h>
but gcc still prints
"implicit declaration of function lrand48()",
and "srand48()".
Just checking, are you using the "-mno-cygwin" flag on gcc/g++? This
would cause that error. If so, then you are using mingw and should
really go and ask them why it doesn't work (and I suspect they'll tell
you it is because it's not in the standard windows c library).
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/