Throwing exception and it's messages

时间:2015-06-26 09:41:12

标签: c++ exception clion

I'm new to using CLion and try to write a simple program to understand how it works. I'm on Windows 8 + cygwin the program is:

int main()
{
    throw std::exception();
}

I got in the console the output:

C:\....\bin.exe

Process finished with exit code 0

Where the messages about the program was aborted or something else? There was nothing, and how should I detect if my program was actually aborted by throwing exception?

0 个答案:

没有答案