I keep encountering this \"Debug assertions failed!\" error when I run my program in debug mode. I tried looking this error up on the visual C++ website but the
Asserts happen when program gets into illegal state. Assert is is written in code by programmer to notify him when something goes bad. You must start debugging from your IDE and press break when you get assert message. Than you should see what is condition in assert, like assert(i > 1024) and make sure that this never becomes true. Maybe you have some comment about meaning of assert, you must find line where it happens and why.