delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/04/20:00:41

From: "Nicholas Law" <fake_nic DOT law AT dial DOT pipex DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Random functions
Date: 4 Jun 1998 22:13:04 GMT
Organization: UUNET
Message-ID: <01bd9005$b3927cc0$575995c1@nicland>
NNTP-Posting-Host: usero579.uk.uudial.com
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all!

I've downloaded some C source code off the internet. It uses the
(apparently) standard C functions srand48() and lrand48(). When I compile
the program in djgpp the compiler complains about the functions. These are
my include statements:

#include <pc.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <math.h>

Is there anotyher file with the srand48() & lrand48() functions in it? Or
are there (exactly) equivalent functions in djgpp?

Thanks in advance...

-- 
Nicholas Law
Web: http://dialspace.dial.pipex.com/town/road/xpa18/index.shtml

To reply, please remove fake_ from the front of the return address

- Raw text -


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