]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | [/ |
2 | / Copyright (c) 2009 Steven Watanabe | |
3 | / | |
4 | / Distributed under the Boost Software License, Version 1.0. (See | |
5 | / accompanying file LICENSE_1_0.txt or copy at | |
6 | / http://www.boost.org/LICENSE_1_0.txt) | |
7 | ] | |
8 | ||
9 | [section Generating integers in a range] | |
10 | ||
11 | [import ../example/die.cpp] | |
12 | [die] | |
13 | ||
14 | [endsect] | |
15 | ||
16 | [section Generating integers with different probabilities] | |
17 | ||
18 | [import ../example/weighted_die.cpp] | |
19 | [weighted_die] | |
20 | ||
21 | [endsect] | |
22 | ||
23 | [section Generating a random password] | |
24 | ||
25 | [import ../example/password.cpp] | |
26 | [password] | |
27 | ||
28 | [endsect] |