ln X; ... size_t digits = X.GetSize( ); for( size_t i=0 ; i<digits ; i++ ) cout << "digit " << i << " = " << X.GetDigit( i ) << endl;