Article View: gnu.g++.help
Article #213help with Random class
From: Steve Brailsford
Date: Thu, 03 Sep 1992 13:16
Date: Thu, 03 Sep 1992 13:16
13 lines
960 bytes
960 bytes
I see there is some kind of random number generator class
in g++ lib. Can someone give me an example on how to use it?
It'd like say a random number between 10 and 20. I think there
is a way to get it to do that, but haven't figured out how.
I wish there were some examples in the comments or something.
Man pages would be nice too. :-)
--
Steve Brailsford (fsb@sparc.vitro.com) _____
Usenet: uupsi!vitro!sparc!fsb \/itro Corporation
Voice: (301) 231-1481 14000 Georgia Ave.
Fax: (301) 231-2020 Silver Spring, MD 20906
Technical Details
Message-ID:
<fsb.715526162@sparc>Path:
arc1-ca.pugleaf.net!sparky!uunet!newsserver.pixel.kodak.com!psinntp!vitro.com!v7.vitro.com!sparc!fsbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!newsserver.pixel.kodak.com!psinntp!vitro.com!v7.vitro.com!sparc!fsb Newsgroups: gnu.g++.help Subject: help with Random class Message-ID: <fsb.715526162@sparc> From: fsb@sparc.vitro.com (Steve Brailsford) Date: 3 Sep 92 13:16:02 GMT Keywords: random numbers Summary: How do I use it? Nntp-Posting-Host: sparc.vitro.com Lines: 13