Thread: ASSERTs in C++
View Single Post
Banned
18Jul2009,10:26  
LenoxFinlay's Avatar
If the argument expression of this macro with functional form compares equal to zero, a message is written to the standard error device and abort is called, terminating the program execution. The specifics of the message shown depend on the specific implementation in the compiler, but it shall include: the expression whose assertion failed, the name of the source file, and the line number where it happened. A usual expression format is:
Assertion failed: expression, file filename, line line number

Last edited by LenoxFinlay; 18Jul2009 at 10:29..