int main() { std::cout << "Hello, world" << std::endl; std::cout << "The answer is: " << get_answer_to_the_question_of_life_universe_and_everything() << std::endl; return 0; }
int main() { std::cout << "Hello, world" << std::endl; std::cout << "The answer is: " << get_answer_to_the_question_of_life_universe_and_everything() << std::endl; try { kaboom(); } catch (std::exception &e) { std::cout << "I just saved the world!" << std::endl; std::cout << "Error was: " << e.what() << std::endl; } return 0; }