DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
C++ random
1
auto
dice
=
std
::
bind
(
distribution
,
generator
)
;
int
wisdom
=
dice
(
)
+
dice
(
)
+
dice
(
)
;
2
Source by cplusplus.com #
PREVIOUS
NEXT
Tagged:
#random
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit