stoi() returns the integer value of a string of decimal numeric characters beginning at **str. No overflow checking is done. *str
is updated to point at the last character examined.
numtos
numtos() converts a long into a null-terminated character string. No bounds checking is done. The caller must ensure there is enough space to hold the result.