Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.


::nrand48
::nrand48 is a function in the global namespace supplied with some STL's to draw a positive (that is: non-negative) random number uniformly distributed between 0 and 2^31.
::nrand48 needs to have a buffer supplied. Nrand48 is identical to ::nrand48.
#include <cassert> |
Screen output:
0 0 11 0 0 |
Operating system(s) or programming environment(s)
Ubuntu 10.10 (maverick)
VirtualBox 3.2.8_OSEr64453
Windows XP
Qt Creator 2.0.1Libraries used:
STL: GNU ISO C++ Library, version 4.4.5
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.