random/doc/tutorial.qbk
Justinas V. Daugmaudis c7c9bc3500 Example added
2018-03-06 12:35:59 +02:00

36 lines
637 B
Plaintext

[/
/ Copyright (c) 2009 Steven Watanabe
/
/ Distributed under the Boost Software License, Version 1.0. (See
/ accompanying file LICENSE_1_0.txt or copy at
/ http://www.boost.org/LICENSE_1_0.txt)
]
[section Generating integers in a range]
[import ../example/die.cpp]
[die]
[endsect]
[section Generating integers with different probabilities]
[import ../example/weighted_die.cpp]
[weighted_die]
[endsect]
[section Generating a random password]
[import ../example/password.cpp]
[password]
[endsect]
[section Generating quasi-random line-sphere intersections]
[import ../example/intersections.cpp]
[intersections]
[endsect]