On Mon, Sep 28, 2009 at 12:14 PM, Suraj Swami <suraj.g.sw...@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 >
This should help: http://linux.die.net/man/3/rand _______________________________________ Pune GNU/Linux Users Group Mailing List