Код: Выделить всё
catchКод: Выделить всё
#include
using namespace std;
void g(){
throw 5;
}
class Rand{
public:
~Rand(){
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/45608136/i-threw-an-exception-that-is-not-caught-before-it-propagates-out-of-main-why[/url]
Мобильная версия