c++random

Random.org True random c++


I am trying to make a dice rolling console application in C++ and I need to implement true random numbers (yes true not pseudo) which is proving to be fairly difficult.

I have heard that Random.org has a c++ library but the only link that I can find is broken and I cant seem to find any documentation on it.

I am trying to allow the user to select a dice from 4, 6, 8 10 and 20 sided dice and roll 1-100 of the selected die. The results are then displayed.

Does anyone know how I can access random numbers between x-y from random.org or something similar?


Solution

  • The URL in the link to the C++ library on the Random.org HTTP Client Archive page is malformed. It's supposed to point to doughague/random-dot-org on GitHub. You can use that to access real random number data generated via atmospheric noise.