A
Angel Tsankov
Is there any way to I can make sensible use of the tab character to
fill spaces in a right-justified display so that code like this
using namespace std;
cout
<< setiosflags( ios::fixed )
<< setw( 6 )
<< setfill( '\t' )
<< setprecision( 2 )
<< 1.23
<< endl
<< setiosflags( ios::fixed )
<< setw( 6 )
<< setfill( '\t' )
<< setprecision( 2 )
<< 12.23
<< endl;
produces
[\t]1.23
[\t]12.23
instead of
[\t][\t]1.23
[\t]12.23
fill spaces in a right-justified display so that code like this
using namespace std;
cout
<< setiosflags( ios::fixed )
<< setw( 6 )
<< setfill( '\t' )
<< setprecision( 2 )
<< 1.23
<< endl
<< setiosflags( ios::fixed )
<< setw( 6 )
<< setfill( '\t' )
<< setprecision( 2 )
<< 12.23
<< endl;
produces
[\t]1.23
[\t]12.23
instead of
[\t][\t]1.23
[\t]12.23