Horje
c++ random number generator uniform distribution Code Example
c++ random number generator uniform distribution
#include<bits/stdc++.h>
using namespace std ;
default_random_engine seed;
int main()
{
    

    for(int i= 10;i>0;i--)
     cout<<uniform_int_distribution<int>(0, i)(seed)<<" ";
    return 0 ;
}




Cpp

Related
c++ remove text file Code Example c++ remove text file Code Example
how to get size of 2d vector in c++ Code Example how to get size of 2d vector in c++ Code Example
how to find 2d vector length cpp Code Example how to find 2d vector length cpp Code Example
c++ clear char array Code Example c++ clear char array Code Example
how to print in new lines in  C++ Code Example how to print in new lines in C++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12