Date: Sun, 31 Jan 1999 22:42:03 -0500 Message-Id: <199902010342.WAA12938@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <7937gc$k81@bgtnsc01.worldnet.att.net> (scotteubank AT worldnet DOT att DOT net) Subject: Re: Whats Wrong with this code PLEASE HELP!! References: <7937gc$k81 AT bgtnsc01 DOT worldnet DOT att DOT net> Reply-To: djgpp AT delorie DOT com > in function main: > ../../../djgpp/projects/rndtest.c(13) Error: void not ignored as it ought to > be > rndnum = srand(seed); srand() does NOT return a value. rand() does. Please read the docs for these functions.