Hi all,
i have the following example for manipulation the output
cout <<"*** the value"<< setw (10)<<"okay"<<e ndl;
cout <<"******* the value"<< setw (10)<<"okay"<<e ndl;
and i get this output:
*** the value okay
******* the value okay
my question is, how can i manipulate the cout to get the output something like that:
*** the value okay
******* the value okay
that means i need to count from the begin of the line and not from the end of the first string ...
thanks for each support
i have the following example for manipulation the output
cout <<"*** the value"<< setw (10)<<"okay"<<e ndl;
cout <<"******* the value"<< setw (10)<<"okay"<<e ndl;
and i get this output:
*** the value okay
******* the value okay
my question is, how can i manipulate the cout to get the output something like that:
*** the value okay
******* the value okay
that means i need to count from the begin of the line and not from the end of the first string ...
thanks for each support
Comment