Hi everyone! I'm new to C, and I need to convert to a char into an integer. The char is a part of an array, which seems to be the problem. Apparently atoi() has to accept an array of chars, but that won't do for my project. I thought of using a switch statement, but that seems kind of "unprofessional". Anybody have any ideas?
Thank you again!