difference between assert and verify.



difference between assert and verify...

Answer / Faizan Mansoori

Assert and Verify are both debugging tools in MFC (Microsoft Foundation Classes). Assert is used to check for programming errors and will cause the application to terminate if the condition is false. Verify, on the other hand, checks for runtime conditions but does not terminate the application if the condition is false; it simply writes an error message to the debug output.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VC++ AllOther Interview Questions

How do you specify which control is the buddy control?

2 Answers  


What is the use of DDV and DDX routines ?

4 Answers   TCS,


What is mfc in vc++?

1 Answers  


What is the use of microsoft visual c++ 2015 redistributable?

1 Answers  


What is command routing in VC++

3 Answers   Siemens,


What is the difference between Boxing and Unboxing in C#

1 Answers  


#include<stdio.h>int(){int a,*b,**c,***d,****e; a=10;b=&a;c=&b;d=&c;e=&c;printf("a=%d b=%u c=%u d=% e=%u",a,b,c,d,e);printf ("%d%d%d\n",a,a+?*b,**c+***d+,****e);return0;}

1 Answers  


Explain some of commonly used methods provided by iunknown.

1 Answers  


What is cmutex?

1 Answers  


In which Way invoke context-sensitive help inside the editor?

1 Answers  


A file a.cpp & B.cpp are complied & linked together in VC++ file a is something like int a =100;, File B is something like extern a; main() { printf("%d",a); }what will be the output.a)100,b)linker error,c)complier error etc etc.

3 Answers   Honeywell,


How do I reinstall microsoft visual c++?

1 Answers  


Categories