Hi,
What does debug assertion failed mean?
Thanks!
Printable View
Hi,
What does debug assertion failed mean?
Thanks!
I believe you're referring to an assert() function that failed it's test, but I'd need to see the exact error to be 100% sure.
A function you called validated it's input parameters, and it failed.
Look at the error message, or better still run the code in the debugger. Then when the debugger catches the assert, you start looking round to see what you did wrong.
A good on is to fopen() a file, which returns NULL on error, then attempt to use that to read a file. The reading function could easily assert with fp != NULL (for example).