![]() |
#11
|
|||
|
|||
![]()
[ QUOTE ]
Well, by the looks of it you have the hard part done. I use the VS2005 myself, so you shouldn't have too much trouble. Obviously it can't find the file... Perhaps if you look to see where it is on your hard drive and point to it directly. instead of the : FILE * fin = fopen("..\\HandRanks.dat", "rb"); use: FILE * fin = fopen("c:\\directory\\path\\you\\founditin\\HandRa nks.dat", "rb"); if (!fin) printf("I Missed it Again!!"); // if you see this message, you still aren't opening the file! Have a Great Day!! Ray... [/ QUOTE ] found the problem. for some reason the write in HandRankSetup failed if it was over a certain size. so i split the HR array into 2 parts and wrote them a part at a time. BAD!! = 0 High Card = 23294460 Pair = 58627800 Two Pair = 31433400 Three of a Kind = 6461620 Straight = 6180020 Flush = 4047644 Full House = 3473184 Four of a Kind = 224848 Straight Flush = 41584 Total Hands = 133784560 Validation seconds = 0.6090 Total HighPrecision Clocks = 2230899 HighPrecision clocks per lookup = 0.016675 done [img]/images/graemlins/smile.gif[/img] thanks again for the awesome evaluator code |
|
|