c++ uses ctime as a seed for the random... which is utter crappy for randoms :-]

if you do several randoms within one second you get the same random integer... :-[ (had to test this for school...)