Asteroids problem?

So I was working on this project for class and I closed Visual studios and reopened later that day. Almost like a hour later... Then I got a problem when I hit start?
"Windows has triggered a breakpoint in Asteroids.exe.

This may be due to a corruption of the heap, which indicates a bug in Asteroids.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while Asteroids.exe has focus.

The output window may have more diagnostic information."

I'd put the code in the here but its a little long. Heres from dropbox.
https://www.dropbox.com/sh/wt8mq7a1fqwh7qm/-UIzfribbv
I don't get yor problem. Are you asking for the completed program? If you finished it and it crashed recompile it.
I dont know what that error means?
It means you accessed a null or non existent pointer if you had the application running and it lost focus, and you are using directx or opengl natively, then what probably happened is that you lost the device when your game lost focus, but you attempted to use it anyway. That's not good there chucky.
Topic archived. No new replies allowed.