What happened when you tested that theory?
Why do you want to randomize the spot? You can't guarantee you hit every spot- you might hit the same spot several times. Why not just iterate...
Type: Posts; User: KevinWorkman
What happened when you tested that theory?
Why do you want to randomize the spot? You can't guarantee you hit every spot- you might hit the same spot several times. Why not just iterate...
I'm really not sure what you're asking. Your array is 3 X 9, which means it has 27 elements. That for loop doesn't really do much, as it's setting the same element each time, so only the last...
You say this doesn't compile, but you haven't provided a compiler error. What error are you getting?