Hey,

I'm trying to learn how to parse an XML document so I downloaded an example from MSDN, and I saw it had something like this:

Code:
try 
{
   // Some code...
}
catch (SOMETHING)
{
   // More code...
}
I was just wondering what try/catch does, and how I would go about using them. I've never seen them in any of the C++ books I've read or in any other examples.

PS: Also, if anyone knows of any really easy to use XML parsers I could use to just read the values from a small document I would really appreciate a link to them, because this MSXML seems much too long and complicated for what I want to do (just like the rest of the WINAPI really).