Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Replying to How To Get The Random.h Header


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

yordan

Posted 25 March 2007 - 05:35 PM

With that random.h file I can generate numbers? ints?

Have a look at the C language programming guide, looking for the syntax of the rand() function.
You will probably have to get a random number between O.0 and 1.0, multiply it by 100 and look for the nearest integer.
Yordan

sones77

Posted 25 March 2007 - 04:40 PM

There is a random.h file here : http://www.ks.uiuc.e..._8h-source.html
also have a look here : http://www.google.fr...a...oogle&meta=
Regards
Yordan

with that random.h file I can generate numbers? ints?

yordan

Posted 12 December 2006 - 02:49 PM

There is a random.h file here : http://www.ks.uiuc.e..._8h-source.html
also have a look here : http://www.google.fr...a...oogle&meta=
Regards
Yordan

tansqrx

Posted 09 December 2006 - 05:56 AM

Its been awhile since I fooled with c header files but I will give it a shot. Assuming your programming department does not use a special internal random.h file, the most common appears to be this one: http://www.ks.uiuc.e..._8h-source.html

demolaynyc

Posted 09 December 2006 - 05:21 AM

Hi, I'm currently looking for a header file I really need. It's a random.h header file. Is there a way that someone can send it to me? I know there is a rand() function in stdlib.h but I prefer to use the random.h one because it's being used for my school.

Review the complete topic (launches new window)