So...I know that the atoi function in the C++ standard library is supposed to convert a string into an integer...how does it work?...(I\'m trying to learn stuff and I was ju
The logic is simply to process each character into it's integer value (adjusting for position within the string).
Here's how I did it in C#. Same general idea.