int _tmain(int argc, _TCHAR* argv[]) { try { printf("About to try\n"); int j,i=20; j=i/0; *(char *)j = 0000; printf("Try done\n"); } catch(...) { printf("Caught Exception\n"); } printf("Waiting to stop\n"); Sleep(5000); return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)