+ 1
Why does this doesn't return random number?
#include <iostream> #include <cstdlib> using namespace std int main() { srand(79) ; //any number instead of 79 cout<<rand()<<endl; }
2 Respostas
#include <iostream> #include <cstdlib> using namespace std int main() { srand(79) ; //any number instead of 79 cout<<rand()<<endl; }