Quote
1> warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data
for this code chunk
int genRandom()
{
int r;
srand(time(NULL));
r = rand() % 100 + 1;
return r;
}
that int is assigned, why is it telling me this nonsense?


Sign In
Create Account


Back to top









