cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Random numbers
Random numbers
Nov 17, 2008 at 9:35pm UTC
vipul mehta
(12)
How can i generate random numbers(from 1 to n) without using any inbuilt functions like rand().
Nov 17, 2008 at 10:15pm UTC
jsmith
(5804)
Write your own RNG.
Nov 18, 2008 at 6:14am UTC
anders43
(125)
do a search for c-snippets, they include a relatively good random number generator in C
Nov 18, 2008 at 6:30pm UTC
Zaita
(2770)
Boost has a few.
http://www.boost.org/doc/libs/1_35_0/libs/random/index.html
Topic archived. No new replies allowed.