This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to use time() in g++ for random number generator seed?
- From: Jeffrey Walton <noloader at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: fsshl at att dot net, gcc-help at gcc dot gnu dot org
- Date: Wed, 27 Jul 2011 22:08:10 -0400
- Subject: Re: how to use time() in g++ for random number generator seed?
- References: <1311295479.3791.6.camel@eric-laptop> <cone.1311306633.707369.12398.500@monster.email-scan.com> <CAH6eHdS58xtzkOfx2iNi4FnVZWhhf627k_k=6Nx+4x0VNXyaKA@mail.gmail.com> <1311739354.8076.3.camel@eric-laptop> <CAH6eHdTCW66xJCHKeHq8UPyC1YkEztZakSmneBQU3E5r0mc2hA@mail.gmail.com>
- Reply-to: noloader at gmail dot com
On Wed, Jul 27, 2011 at 6:16 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 27 July 2011 05:02, eric <fsshl@att.net> wrote:
>> On Tue, 2011-07-26 at 00:18 +0100, Jonathan Wakely wrote:
>>> On 22 July 2011 04:50, Sam Varshavchik <mrsam@courier-mta.com> wrote:
>>> > [SNIP]
>>>
>>> Also, the libstdc++ mailing list is not for asking basic questions
>>> about how to call functions in the C standard library. ?Stop wasting
>>> people's time by abusing the gcc mailing lists.
>> -----------------------------------------------------------
>> Please follow the link and read the final comment of other c++ program
>> s comment of g++
>>
>> http://groups.google.com/group/comp.lang.c
>> ++/browse_thread/thread/1a882052fdc240fa/5eed4699d7141d5e?lnk=gst&q=%3A%
>> 3Atoupper%2C+eric#5eed4699d7141d5e
>
> G++ is correct.
>
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/strings.html
>
> Now go away, you irritating fool.
I busted out laughing when I read that....