🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #445

RAND_MAX defined where?

#445
From: Lun Ye
Date: Fri, 06 Nov 1992 18:10
12 lines
712 bytes
hi there,

RAND_MAX is defined in <stdlib.h> or <math.h> in C, where is it defined
in gnu c++? is it still 0x7fffffff? 


thanks in advance.

---------------------------------------------------------------
lye@uceng.uc.edu
---------------------------------------------------------------
Technical Details
Message-ID: <BxB3sz.D7M@ucunix.san.uc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!yel

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!yel
From: yel@ucunix.san.uc.edu (Lun Ye)
Subject: RAND_MAX defined where?
Message-ID: <BxB3sz.D7M@ucunix.san.uc.edu>
Organization: University of Cincinnati
Date: Fri, 6 Nov 1992 18:10:11 GMT
Lines: 12