Answers for "c++ mt19937 example"

C++
0

mt19937 example c++

#include <iostream>
#include <random>

using namespace std;

int main()
{
    mt19937 mt_rand(time(0));

    cout << mt_rand() << endl;

    return 0;
}
Posted by: Guest on September-03-2020

Browse Popular Code Answers by Language