64,637
社区成员
发帖
与我相关
我的任务
分享
try
{
int *pitmp;
delete pitmp;
}
catch (CMemoryException &e)
{
std::cout << e.ReportError() << std::endl;
}
catch (CFileException &e)
{
std::cout << e.ReportError() << std::endl;
}
catch (CException &e)
{
std::cout << e.ReportError() << std::endl;
}
catch(...)
{
std::cout << "SEH called." << std::endl;
system("pause");
}