Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #include <time.h>
  2. #include <random>
  3. #include <cstdlib>
  4.  
  5. srand(time(NULL));
  6. cout << RAND_MAX << endl;
  7. cout << (double) rand() / RAND_MAX << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement