cvs.gedasymbols.org/archives/browse.cgi | search |
From: | jaster32 AT hotmail DOT com (Jaster) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Random Floats?? |
Date: | Thu, 18 Dec 1997 00:01:07 GMT |
Organization: | NssM Software |
Lines: | 10 |
Message-ID: | <34986772.6942730@news.earthlink.net> |
NNTP-Posting-Host: | 207.217.143.200 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I was wondering how to return a random float.. rand() and random() do only int's as far as I know.. but I need some random floats... float i i = rand()%100 //this gives me an int.. can someone please give me a hand... thanks Jaster..
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |