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

前端 未结 4 787
陌清茗
陌清茗 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:36

    It's a Windows structured exception, which has nothing to do with C++ - you would get the same exception if it were a C program.

提交回复
热议问题