Search found 2 matches

Actual Results

Post Posted: September 21st, 2003, 1:38 pm

I attempted to do that as well but when I ran the loop instead of taking one individual char it took everything together. When I wanted to convert char[1], i got char[1] and everything after that when I only wanted the one number.

Post Posted: September 21st, 2003, 1:20 pm

I know how to change a char to an int using the atoi(&variable). If I have an array of chars called num[40] and i want to take each of those chars and convert them to an array of ints called num2[40] how would I be able to do that and take each individual number?
  • Sort by

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.