demolaynyc 0 Report post Posted December 9, 2006 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. Share this post Link to post Share on other sites
tansqrx 0 Report post Posted December 9, 2006 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://forums.xisto.com/no_longer_exists/ Share this post Link to post Share on other sites
yordan 10 Report post Posted December 12, 2006 There is a random.h file here : http://forums.xisto.com/no_longer_exists/ also have a look here : https://www.google.fr/search?hl=fr&q=raoogle&meta=RegardsYordan Share this post Link to post Share on other sites
sones77 0 Report post Posted March 25, 2007 There is a random.h file here : http://forums.xisto.com/no_longer_exists/ also have a look here : https://www.google.fr/search?hl=fr&q=raoogle&meta=RegardsYordan with that random.h file I can generate numbers? ints? Share this post Link to post Share on other sites
yordan 10 Report post Posted March 25, 2007 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 Share this post Link to post Share on other sites