www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/20/16:38:56

From: "Mad" <mad AT grupo DOT bfe DOT pt>
Newsgroups: comp.os.msdos.djgpp
Subject: Problems with djgpp 2.01
Date: 20 Nov 1996 14:43:11 GMT
Lines: 18
Message-ID: <01bbd6f0$f0f67780$a40141c2@warzone.telepac.pt>
NNTP-Posting-Host: lis10_p4.telepac.pt
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello all,

	i just downloaded djgpp version 2.01 and i'm having problem with the
rand() function which always assigns 0 (zero) to my variable. For instance:


int main (void)
{ int x;

  x=rand();
  return (0);
}

will always assign me 0 to x. Is anyone else haveing the same problem or am
i the only one?


Goncalo Farias

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019