Thomas Maeder wrote:
<snip> Thanks Thomas, I now understand my misunderstanding and thanks for tip on (not) using exceptions.what() method and the clear explanation of why I am receiving an exception from the istringstream for the "legal" conversion :) I found out later that the reason that strtol was not working correctly was because this code has an old internal implementation of that std method, so having eradicated that, the method now works as expected which is a great relief. I have since written a method dependent on strtol which now does what I want. Thanks very much for your help and sorry for the late reply, I've actually been allowed to take some time off in the last few days, woo hoo :) Thanks, Pep. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus