Date: Mon, 29 Nov 1993 09:27:15 -0500 (EST) From: Edwin L Phillips Jr Subject: Re: Help: Random Numbers Generator (c++) To: Massimiliano Mazzacurati Cc: djgpp AT sun DOT soe DOT clarkson DOT edu On Thu, 25 Nov 1993, Massimiliano Mazzacurati wrote: > If you look at file "funcs.doc" you'll find some examples about how to use some statistical random number generator functions with c++... I'm not able to define variables of type RNG (in all the examples there's the declaration .. RNG r;). > What must I do to use these functions properly? PLEASE HELP ME!!!! > my e-mail: madmax AT prix1 DOT fis DOT unipr DOT it > "Numerical Recipes in C", by Donald E. Knuth, has several "good" random number generators, which you would probably want to use anyway for anything serious. I had the fortran version of the book, typed it in in less than 20 minutes. It was only about 50 lines of fortran. Ed /***************************************************************************/ /* Ed Phillips flaregun AT brahms DOT udel DOT edu University of Delaware */ /* Jr Systems Programmer (302) 831-6082 NSS/Software Systems */ /***************************************************************************/