delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/22:55:01

From: "Shawn Betts" <hotpulp AT netidea DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: a randomize function for DJGPP?
Date: 6 Mar 1997 02:56:57 GMT
Organization: iSTAR internet Incorporated
Lines: 12
Message-ID: <5flbpp$m74@nr1.ottawa.istar.net>
NNTP-Posting-Host: login029.nelson.netidea.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I was working with rand() and random() and noticed that there aren't any
randomize functions that I could find for DJGPP. I found srand() and
srandom() but they require a random seed. I would like a randomized timer
function like so many other compilers I have seen (QBASIC, TURBO PASCAL 6.0,
TURBO C++ 3.0). Does anyone know if I've over looked something. If I haven't
how do I make a randomizer function?


Shawn Betts
hotpulp AT netidea DOT com
http://www.netidea.com/~hotpulp/
BLAH?

- Raw text -


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