delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/22/15:47:34

Message-ID: <000301bde661$b7465d20$fd8f2499@Internet.usinet.pminerv>
From: "Paul Minerva" <p_minerva AT msn DOT com>
To: <djgpp AT delorie DOT com>
Subject: problem with rand()
Date: Tue, 22 Sep 1998 14:46:20 -0500

I am writing an application that needs the rand() function.  When I compile
this program using the UNIX g++ it works fine.  When I compile the program
using gcc, it does not seem to work correctly.
Any idea what the problem is?

pm




begin 666 Walk.c
M(VEN8VQU9&4@/'-T9&QI8BYH/@T*(VEN8VQU9&4@/'-T9&EO+F@^#0H-"FEN
M="!M86EN*'9O:60I>PT*#0II;G0@<CL-"B\O(" @(" @("!I;G0@<BP@:2P@
M:BP@;BP@;2P AT 8V]U;G1;;EU;;5T[#0HO+PEI;G0@:6UO=F5;72 ]('LM,2P@
M,"P@,2P@,2P@,2P@,"P@+3$L("TQ?3L-"B\O"6EN="!J;6]V95M=(#T@>S$L
M(#$L(#$L(# L("TQ+" M,2P@+3$L(#!].PT*#0H)+R\J($EN:71I86QI>F4@
M=&AE(&-O=6YT(&%R<F%Y("HO+PT*+R\)9F]R("AI(#T@,#MI(#P@;CL@:2LK
M*0T*+R\)>PT*+R\)"69O<B H:B ](# [(&H\(&T[(&HK*RD-"B\O"0E[#0HO
M+PD)"6-O=6YT6VE=6VI=(#T@,#L-"B\O"0E]#0HO+PE]#0H-"B @(" @(" @
M<B ](')A;F0H*3L-"@T*(" @(" @("!P<FEN=&8H(G)A;F1O;2!N=6UB97(@
J/2 @)60B+'(I.PT*(" @(" @("!R971U<FX@*'(I.PT*#0I]#0H-"@T*
`
end


- Raw text -


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