From: "J.E." Newsgroups: comp.os.msdos.djgpp Subject: Random Numbers Date: Sun, 07 Sep 1997 22:39:23 -0500 Organization: Bell Network Solutions Lines: 6 Message-ID: <3413736A.5E38@voyageur.ca> Reply-To: cellis AT voyageur DOT ca NNTP-Posting-Host: 207.236.8.59 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I was just wondering: How do you create a random number in Djgpp? I tried setting a value for RAND_MAX and then going c = rand(), but that didn't work (it said that the value for RAND_MAX, which was 2, was invalid. Any help would be appreciated. Jordan Ellis