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 |
What is the difference between regular dlls and extended dlls?
What interface must be supported by an ActiveX control?
What is LPCTSTR? What does LP denote it?
What is a message map, and what is the advantage of a message map over virtual functions?
how do u identify RTTI in vc++
What is the initial function to be called in MFC and what it will do
What is the base class for MFC
How to update all the views whenver document got updated ?
1)does Frame Thickness in MFC?
In MFC By Using Communication Between Dialog Boxes,How Can We Send Message Of one Dialog Box To Another Dialog.?
3 Answers Financial Technologies,
What view class enables you to use an edit control as a view?
What types of threads are supported by MFC framework?