Altera_Forum
Honored Contributor
15 years agoGet integer value from character array
I have character arrays of 3 ascii characters representing range values from a sonar. I need to do some calculation on these values now. How can I convert the ascii char array to a valid integer
Ex. Char* [3] = {'2','5','5'} I need to convert to int = 255 Thanks Chase