I want for a project in C++, to have a class that has the functionality that Random class has in java or in c#
I have found this one, http://www.dreamincode.net/code/snippet342.htm but it has bugs and I can’t quite fix them right now.
Could you point out the bugs and their fixes, or suggest another implementation?
Try this: http://bedaux.net/mtrand/