[LCP]Problem with stdlib
Greg Black
gjb at gbch.net
Thu Jan 24 12:54:03 UTC 2002
Mohd Saifullah wrote:
| 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?
Give us a tiny sample program that exhibits the problem without
including extraneous code and show us the compile line and the
compiler output.
More information about the linuxCprogramming
mailing list