Re: Random.. not actually random
That should output the same number everytime. If I am not mistaken, rand() takes the seed whatever it is and runs it through an algorithm then returns a value, so in theory a certain number should always return the same number. That is why you will often times see people using srand(time(NULL)), because the seconds change often enough that you won't often have repeated numbers unless your program runs for an extended period of time.
Hence by using the same seed you would be emulating this freezing.
Using something like memory, or characters in a text or something as the seed would require the freezing of the computer probably.
|