What does msvc 6 throw when an integer divide by zero occurs?

前端 未结 4 819
陌清茗
陌清茗 2021-01-26 04:10

I have been doing a bit of experimenting, and have discovered that an exception is being thrown, when an integer divide by zero occurs.

#include 

        
4条回答
  •  情深已故
    2021-01-26 04:52

    This article claims to have a way to convert a structured exception to a C++ exception using the _set_se_translator function.

    http://www.codeproject.com/KB/cpp/seexception.aspx

提交回复
热议问题