r.alex

r.alex

  • NA
  • 3
  • 0

c++ code translation to c# : Randomizer

Oct 11 2004 3:09 PM
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

Answers (4)