www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/20/07:35:01

Xref: news2.mv.net comp.os.msdos.djgpp:5197
From: johan AT einstein DOT rug DOT ac DOT be (Johan De Messemaeker)
Newsgroups: comp.os.msdos.djgpp
Subject: Random numbers ...
Date: 17 Jun 1996 13:55:28 GMT
Organization: Zeus WPI at the University of Ghent
Lines: 11
Message-ID: <4q3o4g$b6o@infoserv.rug.ac.be>
NNTP-Posting-Host: einstein.rug.ac.be
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm trying to port my old Borland-progs to the DJGPP compiler.
But  there's a line i can't figure out :

	int tmp;
	tmp = random(3);

With Borland, no problemo, it compiles, with DJGPP version 2, nope ...
What is it man ?

(I have the feeling that this is a very stupid question but hey, I 
started learning C a month ago ... sort of anti-stress thing for my exams).

- Raw text -


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