With unequivocal numbers, everything works fine, but with double-digit – it does not displays, for a couple of hours stupid, do not tell me a mistake?
Answer 1, Authority 100%
First, Isnumber
Replace the library isdigit
, and secondly, repeat the “horror flying on the wings of the night” (c), for example, as follows:
else if (isdigit (s [i]))
{
int val = 0;
While (ISDIGIT (S [I]))
{
Val = Val * 10 + (s [i] - '0');
++ I;
}
--i;
STLET.PUSH (VAL);
}