Can anyone explain why this would fail: assert(cap >= 0); But this passes? if(cap < 0) { exit(-1); } That is, the assert is triggered, but if I replace it with conditional, the exit() function is never called. Thoughts? Thanks, David