Hi, I really want to be able to go: (in C++)
assert( num > 0, "The number must be greater than zero!");
In C# XNA, they have a method that does exactly this:
Debug.Assert( num > 0, "The number must be greater than zero!");
Is there some way to do this so that the runtime gives me a meaning full error not just "an assertion failed" error?