Is there a way to add or edit the message thrown by assert? I\'d like to use something like
assert(a == b, \"A must be equal to B\");
Then
For vc, add following code in assert.h,
#define assert2(_Expression, _Msg) (void)( (!!(_Expression)) || (_wassert(_CRT_WIDE(#_Msg), _CRT_WIDE(__FILE__), __LINE__), 0) )