cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
what does that means
what does that means
Dec 22, 2010 at 8:27pm UTC
dexterof
(21)
can anyone tell me what does
srand((
unsigned
)time(0));
means ??
Dec 22, 2010 at 9:46pm UTC
Bazzy
(6281)
Sets the random seed to the current Unix time
See
http://www.cplusplus.com/reference/clibrary/cstdlib/srand/
http://www.cplusplus.com/reference/clibrary/ctime/time/
Topic archived. No new replies allowed.