[PLUG] Random number ( integer code )
pranavpeshwe at gmail.com
Tue Sep 29 03:34:57 PDT 2009
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.
On Tue, Sep 29, 2009 at 12:44 AM, Suraj Swami <suraj.g.swami at gmail.com>wrote:
> I was trying to generate random number integer in CPP ( gcc compiler )
> 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
> tell the error I am facing.
> But can any one suggest a code to generate random numbers without using
> rand() function.
> Thanks in advance.
> Suraj Swami,
> Pune GNU/Linux Users Group Mailing List
More information about the plug-mail