c++ code translation to c# : Randomizer
Hi all,
I would like to translate the following c++ code lines to c#
:
uint32 v;
int max_array = SCREEN_WIDTH * SCREEN_HEIGHT;
v = (int)(max_array * (rand()/RAND_MAX+1.0)));
all ideas are welcome. thanks a lot in advance.
br
alex
r.alexPosted Oct 13, 2004, 2:13 PM
bilnaadPosted Oct 11, 2004, 4:38 PM
Carlos SanchezPosted Oct 11, 2004, 4:27 PM
itaym02Posted Oct 11, 2004, 4:20 PM