Mail Archives: djgpp/1997/09/12/19:33:05
| From: | "J.E." <cellis AT voyageur DOT ca>
|
| 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
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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 <cellis AT voyageur DOT ca>
- Raw text -