VERIFY 与ASSERT用在程序调试上并无本质上的区别。
In the debug version of MFC, the VERIFY macro evaluates its argument. If the result is 0,
the macro prints a diagnostic message and halts the program. If the condition is nonzero,
it does nothing.
In the release version of MFC, VERIFY evaluates the expression but does not print or interrupt the program. For example, if the expression is a function call, the call will be made.
MFC中VERIFY与ASSERT的区别
最新推荐文章于 2025-08-24 16:49:31 发布

1406

被折叠的 条评论
为什么被折叠?



