Created
July 20, 2017 14:16
-
-
Save MikeLing/12cf9254248e9ce49d343f297e920e1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <random> | |
int main() | |
{ | |
std::mt19937_64 rng(100); | |
std::uniform_int_distribution<int32_t > d(1,100); | |
for(int32_t i=0 ; i<15; i++) | |
{ | |
std::cout << d(rng) << std::endl; | |
} | |
} |
Author
MikeLing
commented
Jul 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment