#include "stdafx.h"
#include<iostream>
using namespace std;
void perverted()
{
try
{
throw exception(); // recursive exception throw
}
catch(exception& e)
{
perverted(); // recursive function call
cout<< e.what(); // unknown exception, actually
}
}
int _tmain(int argc, _TCHAR* argv[])
{
perverted();
return 0;
}exception thrown:
2230

被折叠的 条评论
为什么被折叠?



