Posted by: techGuy February 10, 2009
help needed computer geeks!!
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

Read Full Discussion Thread for this article