Hi. I was wondering if I can make the pseudo-random rand() function more random?
I'm generating a random number between 0 and 2 for 30 times:

for(int i=1; i<=30; i++)
notification_rand = int(3.0*rand()/(RAND_MAX+1.0));

Also, is there a better way than using the current time as the seed, so the sequences generated are more different from each other?

Thanks