I would help you with this, but I don't know how to play the game!
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 118
I'm not at all sure I fully understand your program, but...I wonder if line 43:
for (int i=0; i<cCol; ++i)
should be:
for (int i=0; i< BOARD_SIZE; ++i)
It's not clear to me that you're exhausting all possibilities with your current loop limit.
mzimmers
Junior Poster in Training
81 posts since Oct 2011
Reputation Points: 10
Solved Threads: 8