From: "Simon De Deyne" Newsgroups: comp.os.msdos.djgpp Subject: random numbers Date: Wed, 28 Jul 1999 17:08:53 +0200 Organization: Customer of Online Internet Message-ID: <7nn5h5$1v1$1@trex.antw.online.be> NNTP-Posting-Host: a04-019.antw.online.be X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, Does anybody know how to use random numbers when using gcc? Normally something like randomize() and random(10) works to generate 10 integers on my MS-dos PC, but now i'm trying to compile some stuff using djgpp and it doesn't work. The faq said something about it, but only referred to the possibility of using a rand(), but this doesn't allows setting limits to possible random numbers. Sorry if this might sound a bit too simple a problem, but i just started out with djgpp. Simon De Deyne