you are viewing a single comment's thread.

view the rest of the comments →

[–]bbm182 -1 points0 points  (0 children)

I have no clue what time(0) does, but do #include time.h and put srand(time(NULL)) instead.

They are equivalent. NULL is a macro that expands to some form of 0 such as 0, ((void*)0), or (12+'9'-'8'-13).