fork download
  1. #include <stdexcept>
  2. using namespace std;
  3.  
  4. int main() {
  5. throw runtime_error("Fehlertext!");
  6. return 0;
  7. }
Runtime error #stdin #stdout #stderr 0s 3468KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
terminate called after throwing an instance of 'std::runtime_error'
  what():  Fehlertext!