1. Visual Basic has a feature called On Error Resume Next and On Error GoTo TrapError, which allows you to trap error and/or avoid them. Is there a similar way of doing this is C++? Everytime I run into an error, I have to reboot my computer.
2. VB also has a feature which allows you to exit a function from within a function. It's something like "Exit Sub". How do I do this in C++. Do I use Break?