www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/05/09:30:40

From: "Geek86" <steivika AT online DOT no>
Newsgroups: comp.os.msdos.djgpp
Subject: Which library is time in?
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <4vG85.7238$MS3.148292@news1.online.no>
Date: Wed, 5 Jul 2000 15:11:27 +0200
NNTP-Posting-Host: 130.67.83.143
X-Complaints-To: news-abuse AT online DOT no
X-Trace: news1.online.no 962802752 130.67.83.143 (Wed, 05 Jul 2000 15:12:32 MET DST)
NNTP-Posting-Date: Wed, 05 Jul 2000 15:12:32 MET DST
Organization: Telenor Online Public Access
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I looked at the DJGPP FAQ 22.23(How to produce random numbers) and it told
me to set the srand by using the computer clock like this:
srand(time(NULL));
But when I try to compile I get the error "called object is not a function".
I assume its because I havent included the right library (?). Which library
should I include?




- Raw text -


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