I wanted to create a random number minimum and maximum.
So I need a wildly random generating function: that one time based.
Code: Select all
srand( (unsigned)time( NULL ) );
I tried:
Code: Select all
int R=(rand()%2);
*EDIT*
Or yes... or do you know an another way to make a random number 0-1 ?
And yes... my beginner program here: http://s8.invisionfree.com/rocksndiamon ... &id=621544