I\'m taking a part in a challenge, and just to cut to the point, in one of places in my program I need to convert string to an integer. I\'ve tried boost::lexical_cast but u
strtol can be a better atoi (specifically w.r.t. error handling), and will be faster than lexical_cast.