Thanks for all the replies- here's one more puzzle for you all:
Danny said "Something must have been lost in my comments about using C code in a C++ program. Borland handles it just fine." regarding deal generation.
I ported Horne's code into Borland C++ 5.02 and found that when I use srand(1)- that's game #1, right?- I get something completely different:
34 28 32 12 40 20 23 25
24 37 16 3 11 44 43 50
48 41 45 0 15 7 46 30
22 33 14 21 19 13 39 51
31 38 8 29 42 5 36 26
9 2 6 35 4 47 10 27
17 1 18 49
Shouldn't it be:
41 5 34 40 etc.?
Is it because I'm using Borland and not Microsoft? What if I used VB6? I'll find a download for MS Visual C++ and see if it helps...
Received on Mon Nov 24 2003 - 13:44:21 IST