int _tmain(int argc, _TCHAR* argv[])
{
    char *buf;
    try {
        set_terminate(term_func);
        int i = 1;
        int j = 1 / (i -1);
    }
    catch(... ) {
        cout << "Exception raised: " << '\n';
    }
return 0;
}
走到除零就中断了,为啥不能catch呢……