int _tmain(int argc, _TCHAR* argv[])
{
    try
    {
        int * a = NULL;
        * a = 1;
    }
    catch( ... )
    {
        cout << "예외 발생" << endl;

}

return 0;

}

 

 

C/C++ - Code Generation - Enable C++ Exceptions

Yes with SEH Exceptions

예외 발생


Yes

안걸림


Yes with Extern C functions

안걸림


No

예외발생

 


Posted by great-artist
,