well just thought I might just help try doing this:
It gives you a random number each time
#include <iostream>
#include <cstdlib> //for the rand and srand function
#include <ctime> //for the time function
using namespace std;
int main()
{
unsigned seed = time(0);
srand(seed);
cout << seed << endl;
}
just another way to do it...but It isn't implemented for a predefined range a.t.m