Page 1 of 1

How can I create a random number?

Posted: Tue Jul 22, 2008 12:04 am
by -DaRealXecon-
Hi,

How can I create random number between 1 and 5?
without commerce awls
Also 1 - 2 - 3 - 4 - 5 ;-)

Thanks in advance! :)

Posted: Tue Jul 22, 2008 12:08 am
by Jim
Not really a PS2 dev question.

http://c-faq.com/lib/rand.html

Jim

Posted: Tue Jul 22, 2008 12:21 am
by -DaRealXecon-
ohh... shi? :( yes... it was a PSP question :( Sorry...

Posted: Tue Jul 22, 2008 1:58 am
by LBGSHI
More importantly, he was explaining that this is a C programming question, not a console-specific question.

The link he provided is quite useful, I should say.

Posted: Sat Oct 11, 2008 10:50 pm
by jareth256