suit = (rand() >> 4) % maxSuits; // the bottom few bits are just too unrandom to use; in particular the
value = (rand() >> 4) % maxValues; // bottom bit alternates.
is this actually true on Windows? (shudder) Why don't they use an entropy pool like linux that will give you cryptographically strong randomness?
--sam