Well I don't have any specific question. I've been writing a chess game and can't seem to figuire out what the problem is with it! I tried debugging it for a few hours now and am about to give up altogether and rewrite it. The problem occurs seemingly randomly when the king is moved (on either team). It throws an access violation for some reason...and I can't seem to figuire out the exact circumstances that trigger it. I'm thinking the problem lies in the recent (and still pretty sloppy) additions of check, checkmate, and castling. Any help would be appreciated!! I would post the code but the project is pretty big at this point, so it's probably easiest just to download it (Project is attached). Thanks!
skatamatic 371 Practically a Posting Shark
vmanes 1,165 Posting Virtuoso
MatEpp 11 Junior Poster in Training
skatamatic 371 Practically a Posting Shark
vmanes 1,165 Posting Virtuoso
u8sand 68 Junior Poster
skatamatic 371 Practically a Posting Shark
skatamatic 371 Practically a Posting Shark
daviddoria 334 Posting Virtuoso Featured Poster
skatamatic 371 Practically a Posting Shark
robab 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.