error trapping ??

This is a discussion on error trapping ?? within the C++ Programming forums, part of the General Programming Boards category; What's the quickest way to do error trapping? I remember writing just a few lines of code to trap errors ...

*should* help for strings or chars into integral types, but its not really a stream error the other way around though it may not be the type your program expected. Just use atoi or whatever to get the integral type.