delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/26/17:02:24

From: "Matthew Bennett" <bennett AT btinternet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: using "srandom" and "random" in RSXNTDJ
Date: 26 Nov 1997 21:18:55 GMT
Organization: BT Internet
Lines: 26
Message-ID: <01bcfab0$72645f60$393e63c3@mrbcomp>
NNTP-Posting-Host: host5-99-62-57.btinternet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

This problem is getting annoying now - I can't seem to use srandom or
random in rsxntdj, or whenever I compile programs with the -Zwin32 option
:(

In rsxntdj, though the commands are recognised and no compiler errors are
given,  they cause my program to quit and win95 to display an error
message:

RSXNT
Exception at 0x00000009
Application got signal SIGSEGV

I need to use the more advanced srandom and random commands (even though
the srand and rand functions work ok)

How can I use these functions in rsxntdj? It is something as simple as
including another library etc?

Thanks for any help!

Matt

-- 
Computers do what you *tell* them to do, not what you *want* them to do.

- Raw text -


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