#What's the difference between these two?

5 messages · Page 1 of 1 (latest)

stiff pumice
#

So I have seen multiple random libraries, mainly <cstdlib> and <random>. I know <random> is probably a lot better, but I just wanted to understand what both offer, and perhaps if there are even more libraries for randomness.

abstract driftBOT
#

When your question is answered use !solved or the button below to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

crude stirrup
#

The one from <cstdlib> is an ancient and bad implementation.

#

The one from <random> offers a selection of more properly implemented generators.

stiff pumice
#

I see