HEllo.
i got a questoin about the next code:
srand(clock());
rndNum = rand ()%6;
could somone explain how it worke.s..cuz as i see it it jsut calls 2 function 2 times..why can' we call jsut one..and what will be the diffrentces????
thx in advance
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 6 of 6
Thread: random numbers questionThreaded View
|
Click Here to Expand Forum to Full Width |