Hi all,
I try to generate a random number by using srand() and rand() functions but I don't know what is the good seed argument for the function srand(). In Visual C we have API function getTickCount(), do we have any similar function? Or how can I generate a random number?
Thanks
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Nov 18, 2009 2:28 pm
Quote:
I don't know what is the good seed argument for the function srand().
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum