handlingbasic

  1. A

    C++ newbie: error handling--basic questions about try, throw, catch?

    Hello everyone: I'm trying to understand error handling in C++. I have read that using try, throw, catch is better style and less complicated than using if statements with return values. But I'm not sure I really understand how try, throw, catch works. I made a simple example below and it...
Back
Top