Posted by: techGuy February 10, 2009
Login in to Rate this Post:
0
?
Have been out of touch with C++ from long time , but try something like below.
int main () {
cout <<setw (10);
cout <<right<< 77 << endl;
return 0;
}
src: http://www.cplusplus.com/reference/iostream/manipulators/right.html