Ahh i get it now, Thanks a lot!
Type: Posts; User: J0nathan
Ahh i get it now, Thanks a lot!
okay. can you give me a example of rand() where it gives a totally random number and im not sure
what time has to do with random numbers.
Okay i have looked srand up.
But i still don't understand its syntax :S
srand(time(NULL))
Hey.
Im a new C++ programmer and having trouble using rand() in programs.
the only number rand returns is 41.
Is there anything I can do to make it generate other numbers?
Or is there any better...