[PLUG] Random number ( integer code )

Suraj Swami suraj.g.swami at gmail.com
Tue Sep 29 00:44:17 IST 2009


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,



More information about the Plug-mail mailing list