delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/25/02:06:16

From: "Randy" <umgrang0 AT cc DOT umanitoba DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: srand()
Date: Fri, 24 Sep 1999 23:57:58 -0400
Organization: The University of Manitoba
Lines: 6
Message-ID: <7shlcr$bn2$1@canopus.cc.umanitoba.ca>
NNTP-Posting-Host: annex4-06.cc.umanitoba.ca
X-Trace: canopus.cc.umanitoba.ca 938236123 12002 130.179.153.166 (25 Sep 1999 05:08:43 GMT)
X-Complaints-To: Postmaster AT cc DOT umanitoba DOT ca
NNTP-Posting-Date: 25 Sep 1999 05:08:43 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

To use rand() one should call srand() with a seed...
Is there a really simple way to get the time?  Would I have to include
time.h?



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019