+ 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; }
0 Antworten
#include <iostream> #include <cstdlib> using namespace std int main() { srand(79) ; //any number instead of 79 cout<<rand()<<endl; }