From: Daniel J. F. <bas...@gm...> - 2006-04-14 17:57:03
|
Everybody, thanks for all the help. I'm talking it over with my research advisor and we're seeing what we can do about replacing our random number generators. Daniel John FitzGerald wrote: > Hello, > > I am trying to find a POSIX-compatible IDE to migrate my research lab > away from Borland C++. We found Bloodshed's "Dev C++" with MinGW. > However, we've found a problem with RAND_MAX being set to only generate > up to a 16-bit number. > > We tried redifining RAND_MAX to be 32-bit, and it compiled fine. > However, we still can't get any rand() values > 32k. Is there any way to > fix this problem? > > I'm posting the question to this mailing list rather than the Dev C++ > mailing list, because Dev C++ is using MinGW. However, could this be a > problem limited to Dev C++ or does it crop up in MinGW in general? > -- Dan FitzGerald Computer Science, SUNY Geneseo Theres no place like ~/ http://cs.geneseo.edu/~djf8 |