What is the difference between ASSERT and VERIFY?
Answers were Sorted based on User's Feedback
Answer / hari krishna
Hi,
ASSERT evaluates the expression only in the debug version
and will throw an exception if the result is 0 and the
program termintes.
VERIFY evalutes the expression in Debug and Release version
also and if the result is 0, will throw an exception only
in Debug mode.
| Is This Answer Correct ? | 18 Yes | 0 No |
The main difference between ASSERT and VERIFY is when you
compile the release build of the program.
ASSERT will not be present in the release build version of
the executables/dlls, and its expression that would have
been evaluated will be deleted.
VERIFY will be present in the release build version of the
executables/dlls but its expression that would have been
evaluated will be left intact.
| Is This Answer Correct ? | 2 Yes | 1 No |
Explain the flow of SDI application?
List out the parameters of WinMain Function.
What is the use of OninitDialog ?
What are the types of button controls?
what is message loop how mfc does it internally?
How we can findout Memoryleaks, In what way it can be avoided
Name the Synchronization objects?
What is the base class for most MFC classes?
how u can move CDC pointer to one line in cview?
What is CArchive class dowes?
What is mfc class hierarchy?
How do you change the properties for a tree view control that is part of the CTreeView class?