|
From: Robert D B. <lon...@ju...> - 2001-02-13 20:20:29
|
there is no random() function in dec-c++. Use Ran() lstar36 On Tue, 13 Feb 2001 15:05:18 EST Gen...@ao... writes: In a message dated 2/13/01 9:00:11 AM Pacific Standard Time, jf...@ax... writes: I get and error " implicit declaration of function 'int random(....)' " when I tried the "number = random(13)+1;" command. Any suggestions? try #include <stdlib.h> If that doesn't work, ask Colin where the prototype for random() is.. |