home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13349 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  722 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!kuhub.cc.ukans.edu!2ftqkiln
  2. From: 2ftqkiln@kuhub.cc.ukans.edu
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Beginner 'C' Q about clock time
  5. Message-ID: <1992Sep14.130024.42975@kuhub.cc.ukans.edu>
  6. Date: 14 Sep 92 13:00:22 CDT
  7. Organization: University of Kansas Academic Computing Services
  8. Lines: 9
  9.  
  10. This is a real basic question but
  11. i'm writing yer basic guess the number
  12. game for a beginner 'c' class and we 
  13. have to find the target number through
  14. rand() and srand() and i wanted to seed
  15. it using the internal clock of the 3000
  16. to get it as random as psuedo random can be
  17. so could someone tell me how to get a number
  18. from the clock. Thanks in advance....-Dave
  19.