[PLUG] Random number ( integer code )
Pranav Peshwe
pranavpeshwe at gmail.com
Tue Sep 29 16:04:57 IST 2009
Hi Suraj,
Almost always, it is be better to use the library provided
random number generator rather than reinventing the wheel.
IMO, if you could post details about the error you are facing, there is a
good chance that folks on this list would be able to help you out of it.
HTH.
- P
On Tue, Sep 29, 2009 at 12:44 AM, Suraj Swami <suraj.g.swami at gmail.com>wrote:
> Hi,
>
> I was trying to generate random number integer in CPP ( gcc compiler )
> using
> rand() function. But it is giving some error. I have tried a few things.
> Which did not work. As I am not at my home PC right now hence I am unable
> to
> tell the error I am facing.
>
> But can any one suggest a code to generate random numbers without using
> rand() function.
>
> Thanks in advance.
>
>
>
> Regards,
> Suraj Swami,
> _______________________________________
> Pune GNU/Linux Users Group Mailing List
>
More information about the Plug-mail
mailing list