[PD-dev] Simple c++ question

Georg Holzmann grhPD at gmx.at
Thu Feb 26 18:26:59 CET 2004


Hello! 
 
I have a simple problem in c++: 
I don't know how I can set the range of rand(). 
For example if I want a random number between 0 and 9, random(10) doesn't
work. 
Does anyone know the right syntax? 
 
Thanks, lg 
Georg 

-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++





More information about the Pd-dev mailing list