Advertisement
xFaelz

Real Random

Apr 24th, 2018
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1.     //Source code By Thiagodp
  2.     srand(time(NULL) / 5 * (rand() % 500) * 5);//Garante valores realmente aleatorio
  3.     int _rand = rand() % 199;;
  4.     if (_rand > 100)
  5.     {
  6.         _rand = _rand - 99;
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement