um you know actually i think your right ... it should be rand(10)%10 and i should have
used srand to seed the rand function. But when it comes down to it
in most cases what i find is that random enough numbers are enough.
And its pretty impossible to get a "truely" random number from
a computer. So I dont press the point. I could see however in cases
where say you were doing some sort of research to select subjects
at random to fill a number of cells. In that case you would want a
better random algorhythm, but in most cases ... its really ok to
just have a random enough number.