Quote Originally Posted by elad
Code:
cout << "the digits you entered backwards are" << endl;
for(i = 4; i >= 0; ++i)
  cout << intAsString[i];

you gave him a 64,000 loop

change ++i to --i