+ 1
ctime or time.h?
I have been taught to use time(0) on srand, is it actually the same or there's a difference? Please clarify
2 Réponses
+ 4
You should use time.h in C and ctime in C++
0
time.h will be an error, you need to use ctime
I have been taught to use time(0) on srand, is it actually the same or there's a difference? Please clarify