[LCP]Problem with stdlib

Mohd Saifullah saif at lantana.tenet.res.in
Thu Jan 24 06:00:29 UTC 2002


Hi,

I am using rand() function in Linux RH 7.1 by including stdlib.h but i am
getting the following error:

/usr/include/stdlib.h:398:29: macro "random" requires 2 arguments, but
only 1 given

Can anyone help me, please?

Regards,
Saif




More information about the linuxCprogramming mailing list