Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <time.h>
- #include <random>
- #include <cstdlib>
- srand(time(NULL));
- cout << RAND_MAX << endl;
- cout << (double) rand() / RAND_MAX << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement