1 2 3 4 5 6 7 8 9 10 11
#include <windows.h> #include <tchar.h> #include "assert.h" void assert( int expression ) { if( expression==0 ) exit(2); }