On 12/01/2014 11:05 AM, Rolf Eike Beer wrote: > + char *endp; > + *value = static_cast<int>(strtol(str, &endp, 10)); > + return (*endp == '\0') && (endp != str); Fine with me. Please extend the topic accordingly. I will squash it in later. Be sure to include <stdlib.h>. Thanks, -Brad