Nedd a tutorial on exception handling in C++
Posted on 2004-11-04
I haven't done much try - catch type of exception handling in c++ so I need to learn it. For example is there a way to just trap any exception and have the code do something if that happens, or do I always have to actually specify what the problem is?
So basicaly, can I somehow do this:
//my code - anything
catch (anyProblem) //any error that would make the app crash
I am also looking for a tutorial and/or good book on this.
Any help is appreciated,