My challenge is to convert string to integer without any string-to-integer libraries. I have a working function that converts string to integer but it doesn't eliminate the leading 0's. How would I go about doing that? Is there a library for that or a while loop that can fix this?
They don't have leading zeros. Which leading zero on the front of an integer are you trying to get rid of? There aren't any, so how can you get rid of them?