I created a snake game using objects of snake segments that act together in a linked list type way (I think.) and I notice that when you select quit after you die with more than 2 links, the program throws some run time error. Even funkier, when I used a cout statement to display the addresses of the items I was deleting in the destructor to make sure I was deleting everything, after they were all deleted, and when main returns, it THEN displays the last few addresses and throws the same error. I am confused out of my mind.
I am not going to post the code here as it is multiple files and over 400 lines, but if you actually feel you can help me, I can zip it and post it somewhere if you ask.
I almost forgot to mention, this code is platform specific (windows) and I run on windows XP if you need that info.