Can someone tell me what the following loop would do? S is an array and this program uses ctype.h..
else if (isdigit(s[i]))
else cout << "You have entered an illegal character." << endl;
sum = sum * ibase + digit;