Date: Tue, 23 Jun 92 09:31:23 +0200 From: mike AT theo DOT iwr DOT uni-heidelberg DOT de (Michael Brockmann) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Random Numbers I had a problem using the random number generators provided by the gpp-class library. I solved it by modifying some header files and the libc.a library. In the directory ./cplusinc I have changed all occurrences of #include into #include <_Random.h> Additionally, I have taken the file _random.cc from an older distribution of djgpp, compiled it and added it to libc.a . I compiled a second time with gcc -pg and added that object file to libc_p.a . I would like to know whether this procedure is correct or if there is an easier way? Michael Brockmann File _random.cc follows: #ifdef __GNUG__ #pragma implementation "_Random.h" #endif #include <_Random.h>