1
Reply

What does assert() do?

nikhil kansal

nikhil kansal

Jul 14, 2006
10k
0

    In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is false. The program proceeds without any interruption if the condition is true.

    nikhil kansal
    July 14, 2006
    0