Hi, Suppose I have a string containing an integer, eg myString=="271". To convert this into an integer, one way would be using the code: istringstream iss(myString); iss>>intValue; But what if there was an error, eg myString=="27dog1" so that it couldn't convert to an integer properly?