>>70
意地悪してみた。VC6では無理かもしれない。
#include <iostream>
#include <sstream>
#include <string>
#include <iterator>
#include <altorithm>

int main()
{
    using namespace std;
    int n;
    cin >> n;
    ostringstream oss;
    oss << n;
    string str = oss.str();
    ostream_iterator<char> osit(cout, " ");
    copy(str.begin(), str.end(), osit);
    cout << '\n';
    copy(str.rbegin(), str.rend(), osit);
    cout << endl;
}