|
-
Dec 16th, 2000, 05:48 PM
#1
Thread Starter
Frenzied Member
okay I've added Time.h but my book says to seed it with the time, I can't get it to work. Help me please
-
Dec 16th, 2000, 06:38 PM
#2
Monday Morning Lunatic
Use:
Code:
#include <time.h>
/* ... */
srand(time(NULL));
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 16th, 2000, 10:09 PM
#3
Thread Starter
Frenzied Member
Perfect Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|