I\'m just diving into some C++ and I decided to make a random number generator (how random the number is, it really doesn\'t matter). Most of the code is copied off then net
Add srand before the loop
srand((unsigned)time(0)); for(int i =0;i < 100;i++) { std::cout << random_number(3,10) << endl; }