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
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.