Fortinet interview question

How to implement STL atoi? itoa?