#include using namespace std; int main() { int i = 0x3fff; cout.fill( '_'); cout.width( 10); cout << i << endl; #if 0 cout.setf(ios_base::left, ios_base::adjustfield); cout.fill( '_'); cout.width( 10); #endif //cout.setf( cout.flags() | ios_base::left); cout << right; cout << i << endl; return 0; }